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: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The task definition template (Infrastructure/Templates/taskdef.json) that enable
65
65
66
66
Feel free to change it, by adding for example a set of "sed" commands in CodeBuild (following the ones already provided as example) to replace the values dynamically.
67
67
68
-
Feel fre to create a subscriptor for the SNS topic created by this code, in order to get informed of the status of each finished CodeDeploy deployment.
68
+
Feel free to create a subscriptor for the SNS topic created by this code, in order to get informed of the status of each finished CodeDeploy deployment.
69
69
70
70
## CI/CD Architecture
71
71
@@ -107,7 +107,7 @@ cd Infrastructure/
107
107
terraform init
108
108
```
109
109
**4.** Run the terraform plan command, feel free to use a tfvars file to specify the variables.
110
-
You need to set at least the followign variables:
110
+
You need to set at least the following variables:
111
111
+**aws_profile** = according to the profiles name in ~/.aws/credentials
112
112
+**aws_region** = the AWS region in which you want to create the resources
113
113
+**environment_name** = a unique name used for concatenation to give place to the resources names
**6.** Once Terraform finishes the deployment open the AWS Management Console and go to the AWS CodePipeline service. You will see that the pipeline, which was created by this Terraform code, is in progress. Add some files and Dynamodb items as mentioned [here](#client-considerations-due-to-demo-proposals). Once the pipeline finished successfully and the before assets were added, go back to the console where Terraform was executed, copy the *application_url* value from the output and open it in a browser.
134
+
**6.** Once Terraform finishes the deployment, open the AWS Management Console and go to the AWS CodePipeline service. You will see that the pipeline, which was created by this Terraform code, is in progress. Add some files and DynamoDB items as mentioned [here](#client-considerations-due-to-demo-proposals). Once the pipeline finished successfully and the before assets were added, go back to the console where Terraform was executed, copy the *application_url* value from the output and open it in a browser.
135
135
136
-
**7.** In order to access the also implemented Swagger endpoint copy the *swagger_endpoint* value from the Terraform output and open it in a browser.
136
+
**7.** In order to access the also implemented Swagger endpoint, copy the *swagger_endpoint* value from the Terraform output and open it in a browser.
137
137
138
138
## Autoscaling test
139
139
140
140
To test how your application will perform under a peak of traffic, a stress test configuration file is provided.
141
141
142
142
For this stress test [Artillery](https://artillery.io/) is being used. Please be sure to install it following [these](https://artillery.io/docs/guides/getting-started/installing-artillery.html) steps.
143
143
144
-
Once installed please change the ALB DNS to the desired layer to test (front-/backend) in the **target** attribute, which you can copy from the generated Terraform output, or you can also search it in the AWS Management Console.
144
+
Once installed, please change the ALB DNS to the desired layer to test (front/backend) in the **target** attribute, which you can copy from the generated Terraform output, or you can also search it in the AWS Management Console.
145
145
146
-
To execute it run the following commands:
146
+
To execute it, run the following commands:
147
147
148
148
*Frontend layer:*
149
149
```bash
@@ -155,7 +155,7 @@ artillery run Code/client/src/tests/stresstests/stress_client.yml
155
155
artillery run Code/server/src/tests/stresstests/stress_server.yml
156
156
```
157
157
158
-
To learn more about Amazon ECS Autoscaling please take a look to [this](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html) documentation.
158
+
To learn more about Amazon ECS Autoscaling, please take a look to [this](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-auto-scaling.html) documentation.
0 commit comments