Deploy Web Server on AWS through ANSIBLE

mayank agrawal
2 min readAug 21, 2020

In this article i will talk about how to deploy web server on top of amazon cloud using ansible. I create two playbook on for launching an ec2 instance on amazon and second for configure web server. I used dynamic inventory concept that it will automatically fetch the ip.

so here is my workspace

  1. Launch ec2 instance on aws.

Here my instance is launched we can check from amazon site

Now we launched web server

Now you can see i can see my output

Thank you!!

#keepcoding #keepsharing #devops #ansible #cloud



mayank agrawal

I am devops enthusiast always trying to learn new technologies and try to implement in real world to solve real use cases. Creative integrator