Simple Ansible Script to Provision an Instance In AWS EC2

Ec2 Instance provisioning example – name: Creating AWS resources hosts: localhost vars: aws_access_key: aws_secret_key: key_name: aws_region: vpc_id: vpc_subnet_id: ami_id: instance_type: my_local_cidr_ip: group_id: connection: local gather_facts: False tasks: – name: Create an EC2 instance ec2: aws_access_key: “{{aws_access_key}}” aws_secret_key: “{{aws_secret_key}}” key_name: “{{key_name}}” region: “{{aws_region}}” vpc_subnet_id: “{{vpc_subnet_id}}” group_id: “{{group_id}}” instance_type: “{{instance_type}}” image: “{{ami_id}}” wait: yes volumes: – device_name: […]

Static and Dynamic Routing

Routing and types of routing Routing is a process of forwarding packets from one network to another network in an optimal way. It happens in Layer3 or network layer and it performed by a dedicated device called router. Routing process will happens based on the routing tables. It was specified by a network administrator or […]

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top