Steps For Web Page Hosting on Docker Container using AWS
Step 1: Click on EC2 service.
Step 2: Click on the Launch Instance.
Step 3: Assign Name and tags. In this case, we are assigning it “Webserver”
Step 4: Choose an Amazon Machine image. For this article, we will be using “Amazon Linux”.
Step 5: Choose the Instance Type as per your requirement and budget. For this, we will be proceeding with the free tier “t2.micro”
Step 6: Create a new Key Pair and Type the Name “linux1″.
Step 7: Create the Security Group.
- Select – Create a new security group
- Security group name = sg-webserver
- Allow HTTPS or HTTP traffic from the internet
Step 8: Configure the Storage.
Step 9: Click on Launch Instance.
Web Page Hosting in Docker Container Using AWS
The operating system (OS) libraries and dependencies required to run the application source code which is not reliant on the underlying operating system (OS) included in the Dockerfile, which is a standardized, executable component. Programmers may design, distribute, launch, run, upgrade, and manage containers using the open-source platform Docker.