Free courses
CloudBeginnerFree
Cloud Basics: Deploy a Secure Web App on AWS
Build and deploy a small web application that stores files. You will use a virtual machine, object storage, network rules, and an identity role on AWS, and learn how these map to Azure and Google Cloud.
5 lessons 35 minNo account needed
Start lesson 1What you will learn
- Create a cloud account and set up a user with limited permissions.
- Launch a virtual machine and connect to it over the internet.
- Store and retrieve files using object storage from the virtual machine.
- Configure a network security rule to control access to the virtual machine.
- Deploy a simple web page that uses an identity role to upload files to object storage.
Before you start
- Basic computer literacy: using a web browser, creating folders and files.
- Ability to run simple commands in a terminal or command prompt.
Lessons
- Lesson 1: Create an AWS account and an IAM userCreate an AWS account and an IAM user with limited permissions, and see how this maps to identity services on Azure and Google Cloud.4 min
- Lesson 2: Launch a virtual machine with EC2Launch an EC2 instance (a virtual server) and connect to it with SSH; this instance will host your web page and is equivalent to Azure Virtual Machines and Google Compute Engine.9 min
- Lesson 3: Add object storage with S3Create an S3 bucket (object storage), upload a file from the management console, and access that file from your EC2 instance using the AWS CLI; this bucket stores files for your app and maps to Azure Blob Storage and Google Cloud Storage.8 min
- Lesson 4: Control network access with a security groupEdit the security group for your EC2 instance to allow only your own computer to connect, and block public access on the S3 bucket; this restricts who can reach your app, similar to network security groups in Azure and firewall rules in Google Cloud.4 min
- Lesson 5: Deploy a file upload web page using an IAM roleAttach an IAM role to your EC2 instance so it can write to the S3 bucket without storing passwords, then create a simple HTML page on the instance that uploads a file to the bucket, completing the secure web app.10 min