You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/AWS-EC2/README.md
+28-4Lines changed: 28 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,10 @@
1
-
# Deploy application in AWS Beanstalk
1
+
# Chronos AWS EC2 Example
2
+
3
+
Deploy AWS EC2 for testing [Chronos](https://github.com/open-source-labs/Chronos), an open-source developer tool that monitors health data from servers, microservices, Kubernetes clusters, and now, AWS services.
4
+
5
+
## Deploy application in AWS Beanstalk
6
+
7
+
This sample AWS EC2 example allows developers to explore the functionality of Chronos with cloud-based applications.
1. Create user wiht `AdministratorAccess` policy and log in.
68
+
1. Create user wiht `AdministratorAccess` policy and log in. Create Access Key and Secret Access Key, you would need these for launching Chronos for cloud-based application. (instruction at the end).
63
69
64
70
2. Start Elastic Beanstalk with following settings:
65
71
- Platform: Docker running on 64bit Amazon Linux 2
66
72
67
-
3. Upload zipped file (from previous step 9)
73
+
3. Upload zipped file (from previous step 9), it will take a while to beanstalk to set things up.
68
74
69
-
4. Go to EC2 under the Services menu and select 'Key Pairs'.
75
+
4. Go to EC2 , mark the instance ID for later use (instruction at the end) under the Services menu and select 'Key Pairs'.
70
76
71
77
5. Create a new key pair and give it a meaningful name like 'mm-ec2-key' and select "pem" as the file format.
Copy file name to clipboardExpand all lines: examples/AWS-ECS/README.md
+30-5Lines changed: 30 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,10 @@
1
-
## ECS Test Case
1
+
# Chronos AWS ECS Example
2
+
3
+
Deploy AWS ECS for testing [Chronos](https://github.com/open-source-labs/Chronos), an open-source developer tool that monitors health data from servers, microservices, Kubernetes clusters, and now, AWS services.
4
+
5
+
## Purpose and Design
6
+
7
+
This sample AWS ECS example allows developers to explore the functionality of Chronos with cloud-based applications.
2
8
3
9
ECS clustter is deployed with following process:
4
10
- build Docker Image
@@ -18,7 +24,7 @@ ECS clustter is deployed with following process:
18
24
19
25
- If the @chronosmicro/tracker dependency is listed as a local npm package (i.e. `"@chronosmicro/tracker": "file:./chronos_npm_package"`), the Docker build will require that the the Chronos code is in this folder. Copy the _chronos_npm_package_ folder in manually.
20
26
21
-
###Deploy application in ECS
27
+
## Deploy application in ECS
22
28
23
29
Step 1: build Docker Image
24
30
```
@@ -42,14 +48,33 @@ Step 4: Set up AWS account, grant access to floowing AWS IAM permissions listed
42
48
43
49
If you push docker image in ECR you might need additional permission as well.
44
50
45
-
Step 5: Generate access key in IAM -> Users -> yourusername -> secureity credentials -> Access Keys. _Make sure you save your secret access key as it is only accessible once when generated._
51
+
Step 5: Generate access key in IAM -> Users -> yourusername -> secureity credentials -> Access Keys. _Make sure you save your secret access key as it is only accessible once when generated._ (These are used for launching Chronos (instruction at the end)
46
52
47
53
Step 6: Create and use AWS context, follow instruction [here](https://docs.docker.com/cloud/ecs-integration/#requirements).
48
54
49
55
Step 7: Deploy test application in ECS
50
56
```
51
57
docker compose up
52
58
```
53
-
### some notes about the ecs-test
59
+
60
+
61
+
## Monitoring ECS instance on Chronos
62
+
63
+
1. Start Chronos desktop application.
64
+
65
+
2. Select `cloud-based`
66
+
67
+
3. Use Access Key, Secret Access Key, and region to start monitoring ECS instance.
68
+
69
+
### Some notes about the ECS-test
70
+
71
+
The way deployment set up is using Fargate, you will not be able to see graphs in ECS cluster->metrics. Instead, check inside services or Cloudwatch.
72
+
73
+
## Contributing
74
+
Chronos hopes to inspire an active community of both users and developers. For questions, comments, or contributions, please submit a pull request.
54
75
55
-
The way deployment set up is using Fargate, you will not be able to see graph in cluster->metrics. Instead, check inside services or cloudwatch. The ultimate visulization is in Chronos!!!
0 commit comments