Ansible Automation | Launch EC2 Instance Using Ansible Playbook Part 4

Avatar admin | March 25, 2019 2 Views 0 Likes 0 Ratings

2 Views 0 Ratings Rate it

This amazon web services AWS EC2 tutorial will show you how to create EC2 instance 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.


2 Views 0 Ratings Rate it

Written by admin