Run Containers on AWS Lightsail

Hi, I am Mubbashir. I specialize in developing highly scalable & distributed web apps. I help startups in developing their apps & ideas. Here I usually write about Microservices, DevOps, AWS and React
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

Click 'Set up deployment'

- 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

Originally posted on: dev.to
Let's connect:
Linkedin: https://www.linkedin.com/in/mubbashir10/
Twitter: https://twitter.com/mubbashir100



