Mubbashir Mustafa
Posted on September 13, 2021
AWS Lightsail is an easy-to-use service that offers all the features needed to host web applications of any scale. Besides VPS services, the AWS Lightsail also lets you deploy your containers.
From the AWS console, navigate to 'Lightsail'
From the Lightsail homepage, switch to the 'Containers' tab and then click 'Create container service'
Select the region where you want to deploy your containerized application
Select size and number of instances based on your usage
- Choose 'Specify a custom deployment'
- Enter any meaningful name as Container name
- Enter your public image name with tag, example:
nginx:latest
(at the time of writing AWS Lightsail doesn't support private images for container deployment) - Click 'Add open ports' and add ports on which your application listens to
- In the
PUBLIC ENDPOINT
, select the container name which is open to public
Give a name to your service and click 'Create container service'
Once the deployment is finished successfully, it will change the status to active
To access your service/containerized application, use the link given as a public domain
Let's connect:
Linkedin: https://www.linkedin.com/in/mubbashir10/
Twitter: https://twitter.com/mubbashir100
Posted on September 13, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.