When you run the Release process with the correct SemVer format, AWSome Books project should be successfully delivered to AWS.
1. On your remote awsome-books repository, click Create a new release.
2.
v0.0.1
.3. Scroll down to the bottom, click Publish release.
4. A notification has been sent to the gha-release channel in your Slack Workspace, signaling that a Release workflow has been triggered.
5. Go to AWS ECR console.
6. In the left sidebar,
7. After a short while, the GitHub Actions job responsible for publishing the image with the v0.0.1 tag to the AWS ECR repository will do it work.
8. A notification has been sent to the aws-codedeploy channel in your Slack Workspace, signaling that a CodeDeploy deployment has been triggered.
9. Go to AWS CodeDeploy console.
10. In the left sidebar,
11. You might notice that AWS CodeDeploy is deploying the replacement task set.
12. Once the replacement task set has been deployed successfully, your traffic should to be directed to the newly created task set after some time. You may stop the current deployment and revert to the previous task set during that period, as your old task set should persist until the timeout has passed.
13. Go to AWS API Gateway console.
14. In the left sidebar,
15. Click Create resource.
16. In the Resource details section,
/
.books
.17. Click Create method.
18. In the Method details section,
${stageVariables.vpcLinkId}
. You define the vpcLinkId stage variable after deploying the API to a stage and set its value to the ID of the VpcLink.19. Scroll down to the bottom, click Create method.
20. Click Deploy API.
21. In the opening modal,
22. Access the AWSome Books project with the AWS API Gateway endpoint you have noted down in step 9 in 9.2 Create AWS API Gateway.
Also, the endpoint with the books resource.
23. Back to your CodeDeploy Deployment console, click Terminate original task set.
Once AWS CodeDeploy completes the termination of the original task set, you can move over to your Slack Workspace.
24. You should receive a success notification from AWS CodeDeploy in the aws-codedeploy channel, delivered through AWS Chatbot.
25. Additionally, the gha-release channel will likely receive a success notification for your Release workflow.