Ansible Best Practices – How to Install Nginx using Ansible


This amazon web services AWS EC2 tutorial will show you how to install Ngnix using ansible on AWS and connect to it via SSH.

Topics Covered:

1. Installing Ansible & boto
2. SSH Keys setup
3. Inventory setup
4. Ansible Playbook
configuration management

a.Key pair creation
b.Security Group creation
c.Launch EC2 instance
d.Terminate EC2 instance

In this Amazon AWS tutorial we will show how to use a PuTTY private key to connect to your Amazon EC2 Linux instance. Prior to this, we were using ssh on the OS X terminal and our .pem key file in order to connect. However, that didn’t work for our Windows users because .pem files are used with ssl (openssl). We will show you how to download all the PuTTY tools needed, create your private key, connect to your instance, and also how to connect to your instance without an SSH key.


    • blank
      Krushna Pardeshi
      May 26, 2022 22:25 pm Reply

      Good video to get started.

    • blank
      chandan mohanty
      May 26, 2022 22:25 pm Reply

      CloudGuru, nicely explained. Useful content though. Can you provide the GitHub link here?

    • blank
      venu punna
      May 26, 2022 22:25 pm Reply

      Thanks for the effort @
      CLOUD GURU , Exactly the simple explanation I was looking for . It would be a great addition if you have added the github link where we can utilize the snippets.

    • blank
      May 26, 2022 22:25 pm Reply


Leave us a comment