Task 5
Run the app in the cloud
Level 1
- Provision a database as a service on the chosen cloud provider
- Set up replication
- Set up backups
- Build a virtual machine image with the app
- The application can run inside a container or as standalone Linux service (systemd)
- The application should start when the VM starts
- Run the app in multiple instances
- Use the created VM image to run the app
- Ensure that the number of VM instances can be changed in any time
- Ensure that access to the application is handled by a load balancer service configured in the cloud
Level 2
- Prepare code to create an environment in the cloud
- Ensure the code can be used to update the application after new version of the VM image is created
- All components except the database should be managed with code
Level 3
- Add an additional, cloud-specific feature to the application
- Create a bucket on the object storage service and upload there a simple webpage (
index.html
with a basic “Hello Cloud!” message)
- At the start of the VM download the index.html file and save in a directory that makes the page accessible from the outside
- Ensure that the content of the downloaded website can be displayed in the
/cloudpage
path.
- Create and automated pipeline that builds a new VM image when a new commit is pushed to the application’s git repository
- Add a deployment step that also triggers a deployment to the cloud using the previously created code