Deploy Web Server on AWS through ANSIBLE!

Vineet Negi
Apr 27, 2021

🔅Provision EC2 instance through ansible.

🔅Retrieve the IP Address of instance using dynamic inventory concept.

🔅Configure the web server through ansible!

🔅Create role for webserver to customize the Instance and deploy the webpage to root directory.

LET’S COMPLETE THIS TASK ONE BY ONE

ansible.cfg

Setting roles_path is very important.

ansible-galaxy init webserver

mainplaybook.yml

webserver

AWS CLOUD

LET’S RUN THE PLAYBOOK

OUTPUT

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vineet Negi
Vineet Negi

Written by Vineet Negi

★ Aspiring DevOps Engineer ★ Technical Volunteer @LinuxWorld ★ Technical Content Writer @Medium ★ ARTH Learner

No responses yet

Write a response