We will create Route 53 Routing policies base on latency. Where there is no red arrow or description, leave the default value. First we need to create two web servers with sample web code in to different region. To do this exercise, we need running to servers Use sample user data code to create it. Copy code and run as user data when launch servers Copy and past code To use this code you have to use AWS Amazon Linux ISO!...
We will create lunche template and auto-scaling group Where there is no red arrow or description, leave the default values Under the instances select Lunch Template We do not have any templates so create one Give it a name and scroll down We put LT1 witch stands for Lunch Template 1 Chose AMI and instance type In our case is Amazon Linux 2 & t2.micro Select your Key pair your VPC and security group You have to have you key pair created or click create new key pair....
Here’s a step-by-step guide on how to register a domain with Amazon Route 53 Sign in to AWS Console:
Go to the AWS Management Console. Sign in with your AWS account credentials.
Open Route 53:
In the AWS Management Console, navigate to the “Services” dropdown. Under “Networking & Content Delivery,” select “Route 53.”
Choose “Domain Registration”:
In the Route 53 dashboard, select “Domain Registration” from the left-hand navigation pane.
Click “Register Domain”:...
First steps I made to start my adventure with Ansible Please go to the official web for instructions on installing Ansible - this is the best way.
Installing and upgrading Ansible
Ansible’s installation and version
ansible --version Create Inventory
#inventory file 192.168.1.171 192.168.1.172 192.168.1.173 Create ansible.cfg
#ansible.cfg [defaults] inventory = inventory private_key_file = ~/.ssh/ansible/ remote_user = ubuntu Test Ansible is working
ansible all --key-file ~/.ssh/ansible -i inventory -m ping After creating config....
Generating and Using an SSH Key for Secure Server Access To generate a strong SSH key, run the following command:
ssh-keygen -t ed25519 -C "ansible" You will be prompted to choose a folder and name for the SSH key:
Generating public/private ed25519 key pair. Enter file in which to save the key (/home/marcin/.ssh/id_ed25519): /home/marcin/.ssh/ansible/ansible Next, copy the SSH key to the server(s) you want to access. However, before you do so, you must first log in to the server(s) using your name and password:...