Welcome to Cloud Academy's Lab Guide for our Hands-on Lab Run a Controlled Deploy With AWS Elastic Beanstalk.
For this lab, students report that they are unable to pass the verification checks located at the end of each step. Below, you can find screenshots and additional instructions for each step. These should help in making sure you pass the verificaiton checks:
1. Creating an Elastic Beanstalk App & Environment
If the deployment of the Myapp-env app is taking too long, just refresh the browser and it should show if the deployment has already finished. If you do not see the My-App- V1 being deployed, please refresh the browser and it should show the app as in the above screenshot as deployed and you can proceed with the next steps.
This also confirms that all needed checks were made and the validation has passed.
2. Running a Rolling Deploy
The requirement is to update the 1st version of the app by uploading the v2 file previously downloaded. After the deployment, refresh the page if the app version name does not change:
There is no validation check on this step but once you refresh the browser for the app environment the name will change.
3. Preparing a Blue-Green Deploy
You would need to go to elastic beanstalk and from the left side panel choose "Environments" to view all Environments and clone them using the actions button:
And after deployment, just like in the previous step you will need to update the app by uploading the new zip file.
This step also does not have a validation check and you can continue in the next step.
4. Performing a DNS Swap
It will ask you to perform the swap action for your environments. Remember one is on app v2 and one is on app v3, and that they have different URLs. Go back to the Elastic Beanstalk service and go to Environments once more and choose one of the environments and click "Swap environment URLs":
Once the swap has been made it will pass the check:
5. Cleaning Up Old Resources
The lab will ask you to delete the created resources and no checks are required. This should let you finish the lab after submit button is clicked:
I hope you have found this guide helpful! If you continue to experience any issues or if you have additional concerns, please email firstname.lastname@example.org