HugoKovac / cloud-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Aws creds

An "IAM" User have been created here with the maximum "Permissions policies" (asked in the subject), AdministratorAccess Then we type aws configure in the terminal and we fill with the data provided by aws. It's creating config and credentials in ~/.aws/ With that we will be able to use the aws cli to manage our instance(s)

ssh key

The key pair have been created here Then in the make file change the parameter with --key-name <key_name>

Create security group (network)

I've just modify the default to accept all ipv4 for SSH, HTTP and HTTPS here

Install ansible

Use ansible

We need to wait for the public dns of the instance to be initilized. When we got it, we add the dns address to the inventory.ini After having waited the instance to init totally the ssh service should be accessible so we can run our playbook

About


Languages

Language:Jinja 39.7%Language:Dockerfile 24.4%Language:Shell 20.2%Language:Makefile 15.7%