title
Ansible Tutorial | Ansible Installation | Ansible installation on Redhat | DevOps Tools | Edureka

description
***** DevOps Training : https://www.edureka.co/devops-certification-training ***** This Edureka Ansible tutorial will help you to setup Ansible (DevOps Tool) step by step on AWS EC2 servers with Redhat linux operating system. After the Ansible installation, the tutorial will also discuss about configuring Ansible on AWS EC2 servers. Subscribe to our channel to get video updates. Hit the subscribe button above. Check our complete DevOps playlist here: http://goo.gl/O2vo13 Facebook: https://www.facebook.com/edurekaIN/ Twitter: https://twitter.com/edurekain LinkedIn: https://www.linkedin.com/company/edureka #DevOpsAnsible #AnsibleTutorial #DevOpsTutorial #DevOpsTools How it Works? 1. This is a 4 Week Instructor led Online Course. 2. Course consists of 24 hours of online classes, 25 hours of assignment, 20 hours of project 3. We have a 24x7 One-on-One LIVE Technical Support to help you with any problems you might face or any clarifications you may require during the course. 4. You will get Lifetime Access to the recordings in the LMS. 5. At the end of the training you will have to complete the project based on which we will provide you a Verifiable Certificate! - - - - - - - - - - - - - - About the Course Edureka’s DevOps online training is designed to help you master key tools of Devops lifecycle like Docker, Puppet, Jenkins, Nagios, GIT, Ansible, SaltStack and Chef used by a DevOps Engineer for automating multiple steps in SDLC. During this course, our expert DevOps instructors will help you: 1. Understand the concepts and necessities of DevOps 2. Understand the need for DevOps and the day-to-day real-life problems it resolves 3. Learn installation and configuration of common infrastructure servers like Apache, and Nginx for the Enterprise 4. Learn popular DevOps tools like Jenkins, Puppet, Chef, Ansible, SaltStack, Nagios and GIT 5. Implement automated system update, installations and deployments 6. Learn Virtualization Concepts 7. Configuration deployment and packaging, continuous integration using GIT 8. Fine tune Performance and set-up basic Security for Infrastructure 9. Manage server operations using Code which is popularly known as Infrastructure as a Code 10. Understand the need for and concepts of Monitoring and Logging. Along with the above mentioned topics, to help you master the most popular DevOps tools, you will also receive 3 additional self-paced courses including presentations, class recordings, assignments, solutions for the following tools: 1: Ansible - Covers Introduction, Setup & Configuration, Ansible Playbooks, 37 Ansible Modules, Different Roles and Command Line usage. 2: Chef - Covers Introduction, Building the Cook Book, Node Object & Search, Data-bags, Chef environment, Roles, Deploying Nodes in Production and using the Open Source Chef Server. 3: Puppet - Covers Puppet Infrastructure & run-cycle, the Puppet Language, Environment defining Nodes and Modules, Provisioning a Web Server and Executing Modules Against A Puppet Master. - - - - - - - - - - - - - - Who should go for this course? DevOps practitioners are among the highest paid IT professionals today, and the market demand for them is growing rapidly. With emergence of new job roles around DevOps philosophy, anyone aspiring to get into these new roles, can take up this DevOps course. Some of these roles are: 1. DevOps Architect 2. Automation Engineer 3. Software Tester 4. Security Engineer 5. Integration Specialist 6. Release Manager - - - - - - - - - - - - - - Project Work 1. Host a dummy webpage using Apache Web Server. 2. Write shell script which reports: a) Various system configurations related to the user and the OS. b) Data related to load on the server. c) Top 5 processes with maximum number of threads. d) Sort the services by memory 3. Install Nagios on a VM node for monitoring the various parameter of the VM. For more information, please write back to us at sales@edureka.co or call us at IND: 9606058406 / US: 18338555775 (toll-free). Customer Reviews: Ankur Kashyap, DevOps, Build & Release says: “I was enrolled into Devops training from Edureka On a professionalism, they provide a great presentation on the topic that helps to understand the indepth of Devops technology. Good knowledgeable staff, provide recorded sessions with life time warranty. Also technical team is really helpful if you stuck in some demo sessions. Keep it up !! ”

detail
{'title': 'Ansible Tutorial | Ansible Installation | Ansible installation on Redhat | DevOps Tools | Edureka', 'heatmap': [{'end': 1669.516, 'start': 1586.47, 'weight': 0.775}, {'end': 2033.588, 'start': 1874.987, 'weight': 1}], 'summary': 'This tutorial covers setting up ansible in aws, configuring ec2 instances, aws instance configuration, ssh key authentication, aws interconnectivity, ansible installation and configuration on multiple machines, and configuring and managing ansible for aws cloud, with practical demonstrations and quantifiable commands.', 'chapters': [{'end': 706.864, 'segs': [{'end': 52.414, 'src': 'embed', 'start': 22.785, 'weight': 0, 'content': [{'end': 31.971, 'text': 'In this session, we are going to start setting up Ansible and how are we going to use Ansible in a cloud infrastructure environment using AWS.', 'start': 22.785, 'duration': 9.186}, {'end': 40.683, 'text': "So let's start discussing Ansible and let's start configuring Ansible in an AWS environment.", 'start': 33.237, 'duration': 7.446}, {'end': 52.414, 'text': "We can eventually replace AWS environment with a normal traditional infrastructure environment as well, but since there's a cloud hub,", 'start': 41.664, 'duration': 10.75}], 'summary': 'Setting up ansible for cloud infrastructure using aws.', 'duration': 29.629, 'max_score': 22.785, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU22785.jpg'}, {'end': 266.239, 'src': 'embed', 'start': 241.077, 'weight': 4, 'content': [{'end': 250.267, 'text': 'these days we are getting t2 dot micro, you know machines which is having one v CPU, 1gb RAM and instant storage.', 'start': 241.077, 'duration': 9.19}, {'end': 254.213, 'text': "Yeah, yes, so let's start.", 'start': 251.192, 'duration': 3.021}, {'end': 259.296, 'text': 'As I was discussing earlier, we are gonna set up an AWS cloud having three EC2 servers.', 'start': 254.393, 'duration': 4.903}, {'end': 266.239, 'text': 'We are gonna deploy three servers in an AWS engine and we are gonna use Ansible course for that.', 'start': 259.476, 'duration': 6.763}], 'summary': 'Setting up three ec2 servers with 1 vcpu, 1gb ram and instant storage using ansible in aws cloud.', 'duration': 25.162, 'max_score': 241.077, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU241077.jpg'}, {'end': 538.208, 'src': 'embed', 'start': 511.845, 'weight': 6, 'content': [{'end': 521.212, 'text': "so The network performance will be no low to moderate and and it's a normal network performance which You know,", 'start': 511.845, 'duration': 9.367}, {'end': 523.975, 'text': 'we usually put it in for launching the machine.', 'start': 521.212, 'duration': 2.763}, {'end': 530.365, 'text': "So Let's start and configure the instance.", 'start': 523.995, 'duration': 6.37}, {'end': 533.526, 'text': 'So here we have an option called number of instances.', 'start': 530.365, 'duration': 3.161}, {'end': 538.208, 'text': 'as discussed in the slide, We are going to set up three or four ec2 machines.', 'start': 533.526, 'duration': 4.682}], 'summary': 'Network performance will be normal for launching three or four ec2 machines.', 'duration': 26.363, 'max_score': 511.845, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU511845.jpg'}, {'end': 689.023, 'src': 'embed', 'start': 636.832, 'weight': 3, 'content': [{'end': 642.275, 'text': 'but for this course we does not require a dedicated or an Dedicated instance.', 'start': 636.832, 'duration': 5.443}, {'end': 644.856, 'text': "So let's stick with a shared instance.", 'start': 642.335, 'duration': 2.521}, {'end': 652.3, 'text': 'So the shared instance will be run on any availability zones, as I discussed in the last tab,', 'start': 644.856, 'duration': 7.444}, {'end': 657.824, 'text': 'where we are having availability regions in Mumbai South a and the Mumbai South B.', 'start': 652.3, 'duration': 5.524}, {'end': 662.947, 'text': 'if I am putting dedicated, it is gonna put me one location with the dedicated hardware.', 'start': 657.824, 'duration': 5.123}, {'end': 664.788, 'text': 'But if I am putting shared,', 'start': 662.947, 'duration': 1.841}, {'end': 676.712, 'text': "it is gonna put me on both locations wherever the available resources and it's gonna Put in the number of four instances fluctuating between these regions.", 'start': 664.788, 'duration': 11.924}, {'end': 681.156, 'text': 'We have something called advanced settings, Advanced settings.', 'start': 676.712, 'duration': 4.444}, {'end': 689.023, 'text': 'you can just put in your script which is gonna Prompt when the machine comes up.', 'start': 681.156, 'duration': 7.867}], 'summary': 'In this course, a shared instance runs across multiple availability zones, providing four instances and advanced settings for scripting.', 'duration': 52.191, 'max_score': 636.832, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU636832.jpg'}], 'start': 5.273, 'title': 'Setting up ansible in aws and configuring ec2 instances', 'summary': 'Covers setting up and configuring ansible in an aws environment, launching 3-4 t2.micro instances, using red hat or centos version 7, facilitating keyless authentication, and configuring four ec2 instances for testing ansible functionality, with options like assigning public ips, instance tenancy, and advanced settings.', 'chapters': [{'end': 511.845, 'start': 5.273, 'title': 'Setting up ansible in aws', 'summary': 'Discusses setting up and configuring ansible in an aws environment, launching 3-4 t2.micro instances, using red hat or centos version 7, and facilitating keyless authentication for communication during the course.', 'duration': 506.572, 'highlights': ['Setting up and configuring Ansible in an AWS environment The session covers the process of setting up and configuring Ansible in an AWS environment, emphasizing the importance of working in a cloud environment due to its prevalence.', 'Launching 3-4 t2.micro instances The chapter details the launch of 3-4 t2.micro instances in the AWS environment, highlighting the specific configuration and the availability of free tier usage.', 'Using Red Hat or CentOS version 7 for deployment The use of Red Hat or CentOS version 7 for deploying Ansible is emphasized, detailing its suitability and eligibility for free tier usage.', 'Facilitating Keyless authentication for communication during the course The process of facilitating Keyless authentication for communication during the course is highlighted, emphasizing its importance for seamless communication.']}, {'end': 706.864, 'start': 511.845, 'title': 'Configuring ec2 instances for ansible', 'summary': 'Discusses configuring four ec2 instances on a normal network for testing ansible functionality, with options like assigning public ips, instance tenancy, and advanced settings.', 'duration': 195.019, 'highlights': ['The chapter discusses configuring four EC2 instances on a normal network for testing Ansible functionality, with options like assigning public IPs, instance tenancy, and advanced settings.', 'The speaker plans to deploy four servers for ease of differentiation and to test ansible functionality.', 'The default network and subnet provided by Amazon will be used for launching the machines.', 'The speaker mentions not requiring monitoring for the four machines to avoid additional charges for testing purposes.', 'The topic of instance tenancy is explained, with the decision to stick with shared instances for the course and the machines to be placed in both Mumbai South A and Mumbai South B availability zones.']}], 'duration': 701.591, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU5273.jpg', 'highlights': ['Setting up and configuring Ansible in an AWS environment The session covers the process of setting up and configuring Ansible in an AWS environment, emphasizing the importance of working in a cloud environment due to its prevalence.', 'Launching 3-4 t2.micro instances The chapter details the launch of 3-4 t2.micro instances in the AWS environment, highlighting the specific configuration and the availability of free tier usage.', 'Using Red Hat or CentOS version 7 for deployment The use of Red Hat or CentOS version 7 for deploying Ansible is emphasized, detailing its suitability and eligibility for free tier usage.', 'Facilitating Keyless authentication for communication during the course The process of facilitating Keyless authentication for communication during the course is highlighted, emphasizing its importance for seamless communication.', 'The chapter discusses configuring four EC2 instances on a normal network for testing Ansible functionality, with options like assigning public IPs, instance tenancy, and advanced settings.', 'The speaker plans to deploy four servers for ease of differentiation and to test ansible functionality.', 'The default network and subnet provided by Amazon will be used for launching the machines.', 'The speaker mentions not requiring monitoring for the four machines to avoid additional charges for testing purposes.', 'The topic of instance tenancy is explained, with the decision to stick with shared instances for the course and the machines to be placed in both Mumbai South A and Mumbai South B availability zones.']}, {'end': 1060.219, 'segs': [{'end': 810.054, 'src': 'embed', 'start': 768.908, 'weight': 3, 'content': [{'end': 777.942, 'text': 'So for this kind of storage type, Where you require a performance of high-end input and output, we can select provision IOPS.', 'start': 768.908, 'duration': 9.034}, {'end': 780.805, 'text': "But as of now we don't want provision IOPS.", 'start': 777.942, 'duration': 2.863}, {'end': 785.49, 'text': "We're gonna stick on with general-purpose SSD in General-purpose SSD.", 'start': 780.865, 'duration': 4.625}, {'end': 791.936, 'text': 'We have seen that the baseline is 100 input output per second for one GB data transaction.', 'start': 785.83, 'duration': 6.106}, {'end': 799.347, 'text': 'But if you go with IOPS provision IOPS, you can see there is 300 Data transmission of input output per 1gb.', 'start': 791.936, 'duration': 7.411}, {'end': 806.892, 'text': 'So we are not bothered about a performance as of now, because we are just launching four missions and not, you know, a huge infrastructure.', 'start': 799.408, 'duration': 7.484}, {'end': 810.054, 'text': 'So I stick with general-purpose SSD and not a stick with magnetic,', 'start': 806.892, 'duration': 3.162}], 'summary': 'For high-end input and output performance, provision iops offers 300 data transmission per 1gb, but for now, general-purpose ssd with 100 input output per second for 1gb is sufficient for launching four missions.', 'duration': 41.146, 'max_score': 768.908, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU768908.jpg'}, {'end': 853.029, 'src': 'embed', 'start': 830.433, 'weight': 1, 'content': [{'end': 840.122, 'text': 'but as of now require not snapshot and you can select the size, maybe like 20 GB or 5 GB, and Select the storage type you want and you can see,', 'start': 830.433, 'duration': 9.689}, {'end': 844.904, 'text': 'apart from the root device, the storage type, Volume type, is going to change differentiately.', 'start': 840.122, 'duration': 4.782}, {'end': 848.606, 'text': 'We can see the throughput optimized HDD added, cold HDD added.', 'start': 844.944, 'duration': 3.662}, {'end': 853.029, 'text': 'So these are the extra two options given by Amazon if you want to use elastic block storage.', 'start': 848.606, 'duration': 4.423}], 'summary': 'Amazon offers options for selecting size (20gb or 5gb) and storage type, including throughput optimized hdd and cold hdd, for elastic block storage.', 'duration': 22.596, 'max_score': 830.433, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU830433.jpg'}, {'end': 923.787, 'src': 'embed', 'start': 882.863, 'weight': 0, 'content': [{'end': 884.624, 'text': "let's create a security group.", 'start': 882.863, 'duration': 1.761}, {'end': 892.649, 'text': 'um, the security group will be like my My secure group.', 'start': 884.624, 'duration': 8.025}, {'end': 900.075, 'text': 'My secure group Security group will be having rules which is set up.', 'start': 892.649, 'duration': 7.426}, {'end': 901.356, 'text': 'one is SSH by default.', 'start': 900.075, 'duration': 1.281}, {'end': 905.438, 'text': 'I can SSH to any machines using port 22.', 'start': 901.636, 'duration': 3.802}, {'end': 912.763, 'text': 'I can use ICMP if I want to ping any kind of machines from anywhere.', 'start': 905.438, 'duration': 7.325}, {'end': 923.787, 'text': 'If I want to use HTTP port 80, then if I want to use HTTPS I, Then we can select that as well.', 'start': 912.763, 'duration': 11.024}], 'summary': 'Creating a security group with ssh, icmp, http, and https rules.', 'duration': 40.924, 'max_score': 882.863, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU882863.jpg'}], 'start': 707.044, 'title': 'Aws instance configuration', 'summary': "Discusses the configuration of aws instances, covering the use of general-purpose ssd, storage types, security groups, and protocols, aiming to launch four instances with a 10gb root device and a secure group named 'my secure group'.", 'chapters': [{'end': 750.941, 'start': 707.044, 'title': 'Configuring virtual machines on aws', 'summary': 'Outlines the configuration of four virtual machines on aws, including network setup, storage allocation of 10 gigabytes with a root volume type, and the creation of snapshots for each machine.', 'duration': 43.897, 'highlights': ['The four virtual machines will be configured with 10 gigabytes of storage each, with a root volume type called root.', 'A snapshot will be created by default for each of the four virtual machines.', 'Network setup will involve creating one network and one subnet by default, with the option to enable public IP later.', 'Three kinds of storage devices can be selected for the virtual machines.']}, {'end': 1060.219, 'start': 750.941, 'title': 'Aws instance configuration', 'summary': "Discusses the configuration of aws instances using general-purpose ssd, selecting storage types, configuring security groups, and adding rules for protocols like ssh, icmp, http, and https, while aiming to launch four instances with a 10gb root device and a secure group named 'my secure group'.", 'duration': 309.278, 'highlights': ['The baseline for general-purpose SSD is 100 input/output per second for one GB data transaction, compared to 300 for provisioned IOPS. The baseline for general-purpose SSD is 100 input/output per second for one GB data transaction, while provisioned IOPS offers 300 input/output per 1GB, indicating a significant performance difference.', 'Selecting a 30GB root device for the instance, as Amazon provides it free of charge. Choosing a 30GB root device as Amazon provides it free of charge, ensuring cost-effectiveness for the configuration.', 'Configuring a security group with rules for SSH, ICMP, HTTP, and HTTPS protocols, allowing for secure and flexible access to the instances. Creating a security group with rules for SSH, ICMP, HTTP, and HTTPS protocols, ensuring secure access and flexibility for communication with the instances.']}], 'duration': 353.175, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU707044.jpg', 'highlights': ['The baseline for general-purpose SSD is 100 input/output per second for one GB data transaction, compared to 300 for provisioned IOPS.', 'Configuring a security group with rules for SSH, ICMP, HTTP, and HTTPS protocols, allowing for secure and flexible access to the instances.', 'Selecting a 30GB root device for the instance, as Amazon provides it free of charge.', 'The four virtual machines will be configured with 10 gigabytes of storage each, with a root volume type called root.', 'A snapshot will be created by default for each of the four virtual machines.']}, {'end': 2598.155, 'segs': [{'end': 1126.766, 'src': 'embed', 'start': 1091.496, 'weight': 12, 'content': [{'end': 1098.038, 'text': "So we'll see the launch log and see if the launching machine is completed.", 'start': 1091.496, 'duration': 6.542}, {'end': 1100.019, 'text': "Let's go click on this.", 'start': 1099.119, 'duration': 0.9}, {'end': 1102.2, 'text': 'Check out the instances.', 'start': 1101.199, 'duration': 1.001}, {'end': 1111.903, 'text': 'So I can see only one mission is getting launched.', 'start': 1109.603, 'duration': 2.3}, {'end': 1121.063, 'text': "We require four missions, isn't it? Let me see if it's launching four machines or as we need to launch three more machines.", 'start': 1111.923, 'duration': 9.14}, {'end': 1123.464, 'text': 'I think number of nodes I gave only one.', 'start': 1121.644, 'duration': 1.82}, {'end': 1126.766, 'text': 'One instance.', 'start': 1126.226, 'duration': 0.54}], 'summary': 'Currently, only one mission is launched out of the required four, possibly due to specifying only one instance.', 'duration': 35.27, 'max_score': 1091.496, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1091496.jpg'}, {'end': 1180.307, 'src': 'embed', 'start': 1155.154, 'weight': 7, 'content': [{'end': 1168.698, 'text': "We want to select the same Launch, then we're gonna review it properly, make sure that we are having three missions and Launch.", 'start': 1155.154, 'duration': 13.544}, {'end': 1169.939, 'text': "we're going to use the same key pair.", 'start': 1168.698, 'duration': 1.241}, {'end': 1172.199, 'text': 'So I select choose the existing key pair.', 'start': 1170.719, 'duration': 1.48}, {'end': 1178.605, 'text': 'I acknowledge launch the instance So you launch log Launching stations complete.', 'start': 1172.219, 'duration': 6.386}, {'end': 1180.307, 'text': "I'm gonna go select.", 'start': 1178.825, 'duration': 1.482}], 'summary': 'Reviewing same launch for three missions, using existing key pair.', 'duration': 25.153, 'max_score': 1155.154, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1155154.jpg'}, {'end': 1390.995, 'src': 'embed', 'start': 1356.856, 'weight': 2, 'content': [{'end': 1361.399, 'text': 'how do we assign an elastic IP?', 'start': 1356.856, 'duration': 4.543}, {'end': 1362.019, 'text': "It's very simple.", 'start': 1361.399, 'duration': 0.62}, {'end': 1363.978, 'text': 'we can see.', 'start': 1363.078, 'duration': 0.9}, {'end': 1370.7, 'text': "if you just go left and see the network security tab, you can see there's a new concept called elastic IP.", 'start': 1363.978, 'duration': 6.722}, {'end': 1372.641, 'text': 'click on the elastic IP.', 'start': 1370.7, 'duration': 1.941}, {'end': 1374.821, 'text': 'allocate four addresses.', 'start': 1372.641, 'duration': 2.18}, {'end': 1379.903, 'text': 'yes, we need to allocate four IP addresses.', 'start': 1374.821, 'duration': 5.082}, {'end': 1388.225, 'text': 'allocate another one, allocate another one, allocate another one.', 'start': 1379.903, 'duration': 8.322}, {'end': 1390.995, 'text': 'The reason why we are doing this?', 'start': 1389.754, 'duration': 1.241}], 'summary': 'Assign 4 elastic ip addresses under network security tab.', 'duration': 34.139, 'max_score': 1356.856, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1356856.jpg'}, {'end': 1602.053, 'src': 'embed', 'start': 1562.538, 'weight': 9, 'content': [{'end': 1566.561, 'text': "we have make sure that the ips are constant and it's not going to fluctuate when we reboot happens.", 'start': 1562.538, 'duration': 4.023}, {'end': 1573.626, 'text': "now we're going to make sure that each machine, each instance, like master node 1, node 2, node 3 are going to communicate each other.", 'start': 1566.561, 'duration': 7.065}, {'end': 1581.426, 'text': "It's it should have a proper inter process communications happening, whether it's externally or whether it is internally.", 'start': 1574.58, 'duration': 6.846}, {'end': 1582.787, 'text': "So let's go with the master server.", 'start': 1581.426, 'duration': 1.361}, {'end': 1585.85, 'text': 'Remember, this is the ansible master server.', 'start': 1582.787, 'duration': 3.063}, {'end': 1602.053, 'text': "Let's connect it The moment we connect we have a SSH example just copy the example We're going to copy this open my putty and So this is my putty.", 'start': 1586.47, 'duration': 15.583}], 'summary': 'Ensure constant ips, enable communication among master nodes, and set up proper inter process communication for ansible master server.', 'duration': 39.515, 'max_score': 1562.538, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1562538.jpg'}, {'end': 1669.516, 'src': 'heatmap', 'start': 1586.47, 'weight': 0.775, 'content': [{'end': 1602.053, 'text': "Let's connect it The moment we connect we have a SSH example just copy the example We're going to copy this open my putty and So this is my putty.", 'start': 1586.47, 'duration': 15.583}, {'end': 1603.594, 'text': 'This is my base base mission.', 'start': 1602.114, 'duration': 1.48}, {'end': 1611.298, 'text': 'This is my base mission and I need to go to the Key which I saved.', 'start': 1604.355, 'duration': 6.943}, {'end': 1616.82, 'text': 'so remember the key my notes or PPP em which we downloaded sometime back here.', 'start': 1611.298, 'duration': 5.522}, {'end': 1619.961, 'text': 'That is downloaded as a key to launch into this mission.', 'start': 1616.82, 'duration': 3.141}, {'end': 1621.662, 'text': 'So I need to go into that King.', 'start': 1620.101, 'duration': 1.561}, {'end': 1630.226, 'text': "It's into my home directory.", 'start': 1622.122, 'duration': 8.104}, {'end': 1634.547, 'text': 'So let me grab the key.', 'start': 1630.226, 'duration': 4.321}, {'end': 1643.014, 'text': 'yeah, i have the key in my home directory, so this is my nodes.', 'start': 1634.547, 'duration': 8.467}, {'end': 1645.096, 'text': 'this is my key available as of now.', 'start': 1643.014, 'duration': 2.082}, {'end': 1651.982, 'text': 'we are going to change the permission chmod 400, my nodes.', 'start': 1645.096, 'duration': 6.886}, {'end': 1666.335, 'text': 'so once we change the permission, um, make sure that Paste the where we are connecting to the master server.', 'start': 1651.982, 'duration': 14.353}, {'end': 1669.516, 'text': 'Now we are going to connect here.', 'start': 1666.375, 'duration': 3.141}], 'summary': 'Connecting to the server using ssh, changing permissions, and connecting to the master server.', 'duration': 83.046, 'max_score': 1586.47, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1586470.jpg'}, {'end': 2033.588, 'src': 'heatmap', 'start': 1874.987, 'weight': 1, 'content': [{'end': 1884.005, 'text': 'node 3 test password test Test.', 'start': 1874.987, 'duration': 9.018}, {'end': 1894.333, 'text': 'okay, we have created the accounts and Once we have created the account,', 'start': 1884.005, 'duration': 10.328}, {'end': 1908.102, 'text': 'What we are going to do now is Need to make sure the password authentication and the permit root login is enabled for root Before we switch to test user.', 'start': 1894.333, 'duration': 13.769}, {'end': 1911.545, 'text': 'So we need to go to CD, etc.', 'start': 1908.142, 'duration': 3.403}, {'end': 1924.975, 'text': 'CD, SS HD is CD, SSH In master server and we gonna edit SS HD underscore config.', 'start': 1911.545, 'duration': 13.43}, {'end': 1934.507, 'text': 'Edit it and then we have password authentication and Search the password authentication.', 'start': 1924.975, 'duration': 9.532}, {'end': 1943.073, 'text': 'Password authentication Yeah, we have this password authentication.', 'start': 1934.507, 'duration': 8.566}, {'end': 1951.638, 'text': 'enable it and Enable permit root login so that we do not require any key and you know My notes dot p.m. Key,', 'start': 1943.073, 'duration': 8.565}, {'end': 1958.123, 'text': 'always to connect to this and Amazon machines The same thing.', 'start': 1951.638, 'duration': 6.485}, {'end': 1959.344, 'text': 'you need to do it in other machines.', 'start': 1958.123, 'duration': 1.221}, {'end': 1960.344, 'text': 'so VI, etc.', 'start': 1959.344, 'duration': 1}, {'end': 1968.088, 'text': 'sshd, sshd underscore config.', 'start': 1962.605, 'duration': 5.483}, {'end': 1971.189, 'text': 'sorry, the file is different.', 'start': 1968.088, 'duration': 3.101}, {'end': 1972.67, 'text': 'cd, etc.', 'start': 1971.189, 'duration': 1.481}, {'end': 1975.711, 'text': 'cd, sshd sorry, ssh.', 'start': 1972.67, 'duration': 3.041}, {'end': 1984.855, 'text': "sorry, and we're going to use sshd underscore config and do the same thing as we did in master server.", 'start': 1975.711, 'duration': 9.144}, {'end': 1989.557, 'text': 'remove the authentication, permit root login as well.', 'start': 1984.855, 'duration': 4.702}, {'end': 1999.444, 'text': 'follow it carefully, because this is what is required to set up ansible at the first time.', 'start': 1991.86, 'duration': 7.584}, {'end': 2003.367, 'text': 'the same thing has been done here, etc.', 'start': 1999.444, 'duration': 3.923}, {'end': 2006.068, 'text': "etc. sorry, it's etc.", 'start': 2003.367, 'duration': 2.701}, {'end': 2010.01, 'text': "it's not vi, cd, etc.", 'start': 2006.068, 'duration': 3.942}, {'end': 2033.588, 'text': 'cd, ssh, ssh, vi, sshd underscore config, password Permit, root login.', 'start': 2010.01, 'duration': 23.578}], 'summary': 'Enable password authentication and permit root login for ssh setup in multiple servers', 'duration': 158.601, 'max_score': 1874.987, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1874987.jpg'}, {'end': 2010.01, 'src': 'embed', 'start': 1975.711, 'weight': 11, 'content': [{'end': 1984.855, 'text': "sorry, and we're going to use sshd underscore config and do the same thing as we did in master server.", 'start': 1975.711, 'duration': 9.144}, {'end': 1989.557, 'text': 'remove the authentication, permit root login as well.', 'start': 1984.855, 'duration': 4.702}, {'end': 1999.444, 'text': 'follow it carefully, because this is what is required to set up ansible at the first time.', 'start': 1991.86, 'duration': 7.584}, {'end': 2003.367, 'text': 'the same thing has been done here, etc.', 'start': 1999.444, 'duration': 3.923}, {'end': 2006.068, 'text': "etc. sorry, it's etc.", 'start': 2003.367, 'duration': 2.701}, {'end': 2010.01, 'text': "it's not vi, cd, etc.", 'start': 2006.068, 'duration': 3.942}], 'summary': 'Configuring sshd_config for setting up ansible at first time.', 'duration': 34.299, 'max_score': 1975.711, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1975711.jpg'}, {'end': 2113.271, 'src': 'embed', 'start': 2075.079, 'weight': 1, 'content': [{'end': 2090.264, 'text': 'I am just going to log out from master and try to connect using test Without a my node dot p.m. Key.', 'start': 2075.079, 'duration': 15.185}, {'end': 2094.965, 'text': 'Remember the last time when I connected, I used something called hyphen I, my nodes or p.m.', 'start': 2090.324, 'duration': 4.641}, {'end': 2102.868, 'text': "Since we did all those steps, as of now we don't want to use my nodes or p.m, which is given by Amazon, to connect these to these machines.", 'start': 2094.965, 'duration': 7.903}, {'end': 2113.271, 'text': 'so I Can just use iPhone test at my public IP or the public DNS.', 'start': 2102.868, 'duration': 10.403}], 'summary': 'Connecting to machines without my nodes or p.m. using test at public ip or dns', 'duration': 38.192, 'max_score': 2075.079, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU2075079.jpg'}, {'end': 2233.604, 'src': 'embed', 'start': 2201.043, 'weight': 8, 'content': [{'end': 2210.052, 'text': 'so this time you can see that every time I can just directly log in without any kind of hyphen I stuff which I did earlier using.', 'start': 2201.043, 'duration': 9.009}, {'end': 2211.373, 'text': 'I am just logging in via test.', 'start': 2210.052, 'duration': 1.321}, {'end': 2216.618, 'text': "either, excuse, I don't use my notes or p.m. if an IE option.", 'start': 2211.373, 'duration': 5.245}, {'end': 2228.76, 'text': 'so I just use, excuse, test at the fully qualified domain name putting the password which i created.', 'start': 2216.618, 'duration': 12.142}, {'end': 2233.604, 'text': "so it's going to log into that machine.", 'start': 2228.76, 'duration': 4.844}], 'summary': 'Efficient login process via test, without hyphen, using fully qualified domain name.', 'duration': 32.561, 'max_score': 2201.043, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU2201043.jpg'}, {'end': 2356.115, 'src': 'embed', 'start': 2317.531, 'weight': 10, 'content': [{'end': 2329.978, 'text': 'So what we want to do is log on on the machine and connect using ec2 machine, ec2 user, and give the test user root privileges.', 'start': 2317.531, 'duration': 12.447}, {'end': 2334.04, 'text': 'so you can just vi, etc.', 'start': 2329.978, 'duration': 4.062}, {'end': 2338.182, 'text': 'Sudo, who are us, and go to the bottom and type test.', 'start': 2334.04, 'duration': 4.142}, {'end': 2345.652, 'text': 'All equal to all, It should not ask password.', 'start': 2340.291, 'duration': 5.361}, {'end': 2349.873, 'text': 'if I want to switch to root, So copy this line so it can be.', 'start': 2345.652, 'duration': 4.221}, {'end': 2356.115, 'text': 'we need to put this same line on Every other machine.', 'start': 2349.873, 'duration': 6.242}], 'summary': 'Grant test user root privileges for ec2 machine access.', 'duration': 38.584, 'max_score': 2317.531, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU2317531.jpg'}, {'end': 2607.129, 'src': 'embed', 'start': 2576.266, 'weight': 0, 'content': [{'end': 2578.027, 'text': 'domain names.', 'start': 2576.266, 'duration': 1.761}, {'end': 2583.489, 'text': "so, but let's fix with IPS, because it's easy for us to identify and This can be the public.", 'start': 2578.027, 'duration': 5.462}, {'end': 2590.712, 'text': 'IPS can be replaced with fully qualified domain names, which is here from the AWS console.', 'start': 2583.489, 'duration': 7.223}, {'end': 2595.694, 'text': 'just you can just copy the public DNS and Paste it.', 'start': 2590.712, 'duration': 4.982}, {'end': 2596.955, 'text': 'we can use this and that.', 'start': 2595.694, 'duration': 1.261}, {'end': 2598.155, 'text': 'so whichever is fine is good.', 'start': 2596.955, 'duration': 1.2}, {'end': 2607.129, 'text': "So let's have stick with this and let's go to the prompt, and We need to make sure it does not ask for password,", 'start': 2598.615, 'duration': 8.514}], 'summary': 'Use ips for easy identification, replace with fully qualified domain names from aws console, and ensure prompt does not ask for password.', 'duration': 30.863, 'max_score': 2576.266, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU2576266.jpg'}], 'start': 1060.219, 'title': 'Aws setup and ansible configuration', 'summary': 'Covers launching and configuring four instances with key pair, security group, and shared tendency, assigning elastic ips for consistent public ips, configuring ansible master server, and improving ssh connectivity for efficient server configuration.', 'chapters': [{'end': 1263.716, 'start': 1060.219, 'title': 'Launching and configuring multiple instances', 'summary': 'Details the process of launching and configuring four instances, with a key pair, security group, and shared tendency between the machines, for an ansible course, with an emphasis on deploying ssh keys and ensuring the status checks are successful.', 'duration': 203.497, 'highlights': ['Three missions are launching, getting launched in a piece out one a, one a, Availability zone. The other three missions are launched in one a, showing a shared tendency between those machines. The shared tendency between the three launched instances in one a demonstrates the deployment of multiple servers in a specific zone, indicating the configuration for the ansible course.', 'We have deployed three servers, or four servers that will be used in our ansible course. The successful deployment of three out of the four servers highlights the progress towards the desired number of instances for the ansible course.', 'It should show 2, cross 2, to make sure that everything is running fine. The cross 2 status checks indicate the need for successful verification of the running status, emphasizing the importance of ensuring all components are functioning correctly.']}, {'end': 1582.787, 'start': 1263.716, 'title': 'Assigning elastic ips for aws instances', 'summary': 'Discusses the importance of assigning elastic ips to aws instances to ensure consistent and static public ips, which is achieved by associating an elastic ip with each instance, preventing ip changes upon reboots, and facilitating external and internal communication.', 'duration': 319.071, 'highlights': ['Elastic IPs prevent public IP changes upon reboots and ensure consistency Assigning elastic IPs to AWS instances prevents public IP changes upon reboots, ensuring consistent and static public IPs for each instance.', 'Associating an elastic IP with each instance facilitates external and internal communication Each instance is associated with an elastic IP, enabling external communication with a static public IP and internal communication using a private IP.', 'Allocate four elastic IP addresses to ensure stability and prevent frequent IP changes Allocating four elastic IP addresses ensures stability by preventing frequent public IP changes due to reboots, benefiting the ansible course by maintaining consistent IPs.']}, {'end': 2174.706, 'start': 1582.787, 'title': 'Configuring ansible master server', 'summary': 'Covers the process of connecting to the ansible master server, setting up ssh connections to multiple nodes, creating users, enabling password authentication, and restarting services for ansible setup.', 'duration': 591.919, 'highlights': ['Setting up SSH connections to multiple nodes The process involves connecting to multiple nodes using keys, switching to root, and differentiating between public and private IPs.', 'Enabling password authentication and permit root login The steps include editing SSH configuration files to enable password authentication and permit root login for setting up Ansible.', 'Creating users for communication and Ansible usage Accounts are created for test users on all nodes to facilitate proper communication and Ansible usage.', 'Restarting services for Ansible setup Systemctl is used to restart SSH services in order to ensure that the mynodes.pm key is not required for every login.', 'Connecting to the Ansible master server The process involves using SSH and copying the example, while differentiating between public and private IPs for connection.']}, {'end': 2598.155, 'start': 2175.865, 'title': 'Efficient ssh connectivity and server configuration', 'summary': 'Details the process of improving ssh connectivity by eliminating the need for keys and passwords, granting root privileges to a test user, and recording master server credentials including public and private ips for efficient server configuration.', 'duration': 422.29, 'highlights': ['Improving SSH connectivity by eliminating the need for keys and passwords Removing the requirement of keys and passwords for SSH connectivity, ensuring seamless logins without key prompts, and enabling SSH keyless authentication.', 'Granting root privileges to a test user Granting root privileges to the test user using the sudoers file, ensuring a smooth transition to root privileges for the test user, and replicating the same configuration across all machines.', 'Recording master server credentials including public and private IPs for efficient server configuration Recording master server credentials such as public and private IPs, obtaining and saving the IPs of nodes 1, 2, and 3, and emphasizing the importance of this information for running Ansible playbooks and roles.']}], 'duration': 1537.936, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU1060219.jpg', 'highlights': ['Assigning elastic IPs to AWS instances prevents public IP changes upon reboots, ensuring consistent and static public IPs for each instance.', 'Allocating four elastic IP addresses ensures stability by preventing frequent public IP changes due to reboots, benefiting the ansible course by maintaining consistent IPs.', 'Removing the requirement of keys and passwords for SSH connectivity, ensuring seamless logins without key prompts, and enabling SSH keyless authentication.', 'Recording master server credentials such as public and private IPs, obtaining and saving the IPs of nodes 1, 2, and 3, and emphasizing the importance of this information for running Ansible playbooks and roles.', 'The process involves connecting to multiple nodes using keys, switching to root, and differentiating between public and private IPs.', 'Enabling password authentication and permit root login for setting up Ansible.', 'Creating users for communication and Ansible usage accounts are created for test users on all nodes to facilitate proper communication and Ansible usage.', 'Restarting services for Ansible setup systemctl is used to restart SSH services in order to ensure that the mynodes.pm key is not required for every login.', 'Connecting to the Ansible master server the process involves using SSH and copying the example, while differentiating between public and private IPs for connection.', 'Granting root privileges to the test user using the sudoers file, ensuring a smooth transition to root privileges for the test user, and replicating the same configuration across all machines.', 'Three missions are launching, getting launched in a piece out one a, one a, Availability zone. The other three missions are launched in one a, showing a shared tendency between those machines.', 'We have deployed three servers, or four servers that will be used in our ansible course. The successful deployment of three out of the four servers highlights the progress towards the desired number of instances for the ansible course.', 'It should show 2, cross 2, to make sure that everything is running fine. The cross 2 status checks indicate the need for successful verification of the running status, emphasizing the importance of ensuring all components are functioning correctly.']}, {'end': 3666.366, 'segs': [{'end': 3283.805, 'src': 'embed', 'start': 3241.441, 'weight': 1, 'content': [{'end': 3247.424, 'text': 'and this setup is required and to install an ansible and configure the ansible at the first phase.', 'start': 3241.441, 'duration': 5.983}, {'end': 3256.169, 'text': 'so we are done with part one installation of aws services and making sure that they are connecting with without a password,', 'start': 3247.424, 'duration': 8.745}, {'end': 3262.553, 'text': "and it's going to communicate interprocessly for all the machines or all the nodes, from master to nodes, which we have created.", 'start': 3256.169, 'duration': 6.384}, {'end': 3270.132, 'text': 'okay, So we deployed three to four virtual machines in an AWS cloud where we can see.', 'start': 3262.553, 'duration': 7.579}, {'end': 3274.716, 'text': 'we have named them as a master and we have named the client as node one, node two, node three.', 'start': 3270.132, 'duration': 4.584}, {'end': 3283.805, 'text': 'We have tested the interconnectivity between these three machines using test account and we have already verified that, yes,', 'start': 3274.776, 'duration': 9.029}], 'summary': 'Installed ansible, connected aws services, deployed 3-4 vms, and tested interconnectivity.', 'duration': 42.364, 'max_score': 3241.441, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3241441.jpg'}, {'end': 3645.127, 'src': 'embed', 'start': 3594.395, 'weight': 0, 'content': [{'end': 3607.569, 'text': "instances, terminate instances, reboot we're going to reboot each and every instance to make sure that it connects to the repositories,", 'start': 3594.395, 'duration': 13.174}, {'end': 3616.959, 'text': "because it's not able to connect to cdn repositories from red hat, from load balancer back and just reboot the machines.", 'start': 3607.569, 'duration': 9.39}, {'end': 3621.6, 'text': 'we this should have a connection connectivity lost.', 'start': 3618.757, 'duration': 2.843}, {'end': 3623.041, 'text': "yes, that's right.", 'start': 3621.6, 'duration': 1.441}, {'end': 3625.063, 'text': 'now every machine is getting connection lost.', 'start': 3623.041, 'duration': 2.022}, {'end': 3634.971, 'text': "so let's wait the until the machine comes back up and we need to create a repository to make sure that we get appropriate ansible packages in picture.", 'start': 3625.063, 'duration': 9.908}, {'end': 3638.014, 'text': 'so so far we have installed three to four ansible.', 'start': 3634.971, 'duration': 3.043}, {'end': 3645.127, 'text': 'I mean three to four easy to cloud virtual machines on an Amazon cloud We have make.', 'start': 3638.7, 'duration': 6.427}], 'summary': 'Rebooted instances to establish connectivity, installed 3-4 ansible packages on amazon cloud.', 'duration': 50.732, 'max_score': 3594.395, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3594395.jpg'}], 'start': 2598.615, 'title': 'Ssh key authentication and aws interconnectivity', 'summary': 'Covers setting up ssh key authentication for passwordless communication between internal network machines and demonstrating aws interconnectivity setup for seamless communication between master and nodes.', 'chapters': [{'end': 3129.49, 'start': 2598.615, 'title': 'Setting up ssh key authentication', 'summary': 'Covers the process of setting up ssh key authentication for communication between machines in an internal network, using keyless authentication and sharing keys across machines, resulting in passwordless communication, aiding in smooth operation of ansible. the process involves generating and sharing ssh keys across machines, ensuring passwordless authentication, and connecting nodes without any password.', 'duration': 530.875, 'highlights': ['The process involves generating and sharing SSH keys across machines, ensuring passwordless authentication, and connecting nodes without any password, aiding in smooth operation of Ansible.', 'The chapter emphasizes the importance of setting up keyless authentication and sharing keys across machines, resulting in passwordless communication to avoid hitches during later stages, ensuring smooth operation of Ansible.', 'The machines used for the demonstration are launched in Amazon Cloud, specifically in the AP.South1 (Mumbai) region, using t2.micro configuration and Red Hat Enterprise Linux 7.2, utilizing them as templates to test Ansible technology and orchestration tool.']}, {'end': 3302.063, 'start': 3129.49, 'title': 'Aws interconnectivity setup', 'summary': 'Describes the setup of interconnectivity between aws virtual machines, demonstrating ssh communication without passwords, ensuring seamless communication between master and nodes.', 'duration': 172.573, 'highlights': ['The setup involves deploying three to four virtual machines in AWS, testing interconnectivity between the machines, and verifying SSH communication without the need for passwords.', 'The chapter demonstrates the implementation of SSH connectivity between the machines, enabling communication from master to nodes without requiring passwords.', 'The initial phase involves the installation and configuration of AWS services, ensuring seamless communication interprocessly for all the machines or nodes.', 'The chapter emphasizes the importance of setting up and configuring Ansible as part of the initial phase, allowing communication between master and nodes without password requirements.']}, {'end': 3438.889, 'start': 3302.063, 'title': 'Ansible deployment and installation', 'summary': 'Covers the deployment and installation of ansible, highlighting its use for provisioning, configuration management, app deployment, continuous delivery, orchestration, and security compliance, as well as the pricing of ansible tower based on the number of nodes.', 'duration': 136.826, 'highlights': ['Ansible Tower comes with a graphical user interface and is commercially sold, with pricing based on the number of nodes, ranging from $5000 per year for 100 nodes to higher prices for more nodes, depending on support and premium.', 'Ansible is available as an open-source product from the Fedora website and is used for provisioning, configuration management, app deployment, continuous delivery, orchestration, and security compliance.', "Ansible's efficient architecture positions it at number one compared to other tools, as it operates using just SSH and does not have daemons and processors running at the back end.", "The repository of Ansible comes from the Fedora project, and it's essential to install Ansible from the open-source release provided by Fedora."]}, {'end': 3666.366, 'start': 3438.889, 'title': 'Setting up epel repository and creating ansible packages', 'summary': 'Discusses setting up the epel repository on all master and node machines, troubleshooting connection issues with load balancers, rebooting instances to establish connectivity, and ensuring ssh compatibility across multiple cloud virtual machines on amazon cloud.', 'duration': 227.477, 'highlights': ['Rebooting instances to establish connectivity The chapter emphasizes rebooting each instance to ensure connectivity to repositories, as the machines were unable to connect to the CDN repositories from the load balancer.', 'Setting up the EPEL repository on all master and node machines The importance of installing the EPEL release on all master and node machines is highlighted to ensure access to extra package repositories for Red Hat 7, enabling the retrieval of various packages.', 'Ensuring SSH compatibility across multiple cloud virtual machines on Amazon cloud The necessity of ensuring SSH compatibility and passwordless logins between the cloud virtual machines is stressed, indicating successful testing of SSH connectivity in the previous class.']}], 'duration': 1067.751, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU2598615.jpg', 'highlights': ['The process involves generating and sharing SSH keys across machines, ensuring passwordless authentication, and connecting nodes without any password, aiding in smooth operation of Ansible.', 'The setup involves deploying three to four virtual machines in AWS, testing interconnectivity between the machines, and verifying SSH communication without the need for passwords.', 'Ansible is available as an open-source product from the Fedora website and is used for provisioning, configuration management, app deployment, continuous delivery, orchestration, and security compliance.', 'Rebooting instances to establish connectivity The chapter emphasizes rebooting each instance to ensure connectivity to repositories, as the machines were unable to connect to the CDN repositories from the load balancer.']}, {'end': 4393.816, 'segs': [{'end': 3788.239, 'src': 'embed', 'start': 3761.048, 'weight': 4, 'content': [{'end': 3773.288, 'text': 'So you can just download ansible Fedora project So we actually get all the files from the federal project.', 'start': 3761.048, 'duration': 12.24}, {'end': 3776.53, 'text': "I'm preferably from Link which I have here.", 'start': 3773.348, 'duration': 3.182}, {'end': 3779.012, 'text': 'This is the link rpm package.', 'start': 3776.911, 'duration': 2.101}, {'end': 3781.634, 'text': 'So we are gonna get everything from federal project.', 'start': 3779.012, 'duration': 2.622}, {'end': 3784.777, 'text': 'for that We need to install an EPL.', 'start': 3781.634, 'duration': 3.143}, {'end': 3788.239, 'text': 'EPL is something an extra package release for a hat.', 'start': 3784.777, 'duration': 3.462}], 'summary': 'Download ansible fedora project to access all files and install epl for red hat.', 'duration': 27.191, 'max_score': 3761.048, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3761048.jpg'}, {'end': 3845.601, 'src': 'embed', 'start': 3814.392, 'weight': 2, 'content': [{'end': 3818.035, 'text': "What I'm going to do now is I'm going to use wget and get the repository.", 'start': 3814.392, 'duration': 3.643}, {'end': 3821.538, 'text': "Since wget is not installed, I'm going to install wget.", 'start': 3818.876, 'duration': 2.662}, {'end': 3840.936, 'text': 'yeah, we are first installing wget in a node 3 and um, we are going to pull out the package and create the repository.', 'start': 3832.967, 'duration': 7.969}, {'end': 3845.601, 'text': "remember, now we don't have a epel extra package repository.", 'start': 3840.936, 'duration': 4.665}], 'summary': 'Installing wget in node 3 to create package repository.', 'duration': 31.209, 'max_score': 3814.392, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3814392.jpg'}, {'end': 3933.139, 'src': 'embed', 'start': 3903.828, 'weight': 0, 'content': [{'end': 3907.43, 'text': 'But when I just go check another machines, I have been done.', 'start': 3903.828, 'duration': 3.602}, {'end': 3908.77, 'text': "It's a pre-work already.", 'start': 3907.47, 'duration': 1.3}, {'end': 3910.071, 'text': 'I can just go to etcm.', 'start': 3908.93, 'duration': 1.141}, {'end': 3916.061, 'text': 'I can see EPL configured on each and every machine sometime back.', 'start': 3912.097, 'duration': 3.964}, {'end': 3930.256, 'text': 'So, as is true, as if you are testing in your machine, you need to configure EPL using the two steps, like downloading this package wget.', 'start': 3917.502, 'duration': 12.754}, {'end': 3931.897, 'text': 'downloading this wget package.', 'start': 3930.256, 'duration': 1.641}, {'end': 3933.139, 'text': "I'm going to highlight this.", 'start': 3932.138, 'duration': 1.001}], 'summary': 'Epl has been configured on each machine, requiring two steps for setup.', 'duration': 29.311, 'max_score': 3903.828, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3903828.jpg'}, {'end': 4352.843, 'src': 'embed', 'start': 4325, 'weight': 3, 'content': [{'end': 4331.663, 'text': 'we are now installed three virtual machines and now we are installed ansible and all the machines and, uh,', 'start': 4325, 'duration': 6.663}, {'end': 4339.12, 'text': 'We are going to test the SSH connectivity between machines.', 'start': 4335.359, 'duration': 3.761}, {'end': 4344.821, 'text': 'To check the version, unsable hyphen hyphen version is going to give us the output.', 'start': 4339.14, 'duration': 5.681}, {'end': 4348.262, 'text': 'This log file is not writable and we cannot create it.', 'start': 4346.002, 'duration': 2.26}, {'end': 4352.843, 'text': 'What we can do is we need to make sure this log file is writable.', 'start': 4348.902, 'duration': 3.941}], 'summary': 'Installed 3 virtual machines, set up ansible, testing ssh connectivity, encountered issue with log file permissions.', 'duration': 27.843, 'max_score': 4325, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU4325000.jpg'}], 'start': 3666.806, 'title': 'Ansible installation and configuration on multiple machines', 'summary': 'Covers the download, installation, and configuration of ansible from the fedora project, avoidance of tower, pricing models, and setting up the epl repository on multiple machines. it also includes updating and installing ansible on master node 1, node 2, and node 3, with 118 packages to be updated in node 3, and verifying the installation using ansible-hyphen-hyphen version command on each machine.', 'chapters': [{'end': 3969.427, 'start': 3666.806, 'title': 'Ansible installation and configuration', 'summary': 'Discusses the download and installation of ansible from the fedora project, highlighting the avoidance of the commercially acclaimed tower, the pricing models and the steps to configure the epl repository on multiple machines.', 'duration': 302.621, 'highlights': ['The chapter emphasizes the download and installation of Ansible from the Fedora project, avoiding the commercially acclaimed Tower and discussing the pricing models for commercial companies.', 'It details the steps to configure the EPL repository on multiple machines, including downloading the wget package (rpm file) and installing it using rpm hifi H on all the machines to configure the EPL repository.', 'The process of obtaining ansible from the Fedora project and configuring the EPL repository is explained, including the installation of the EPL release and the verification of the repository configuration on each machine.']}, {'end': 4393.816, 'start': 3969.427, 'title': 'Configuring and installing ansible on multiple machines', 'summary': 'Discusses updating and installing ansible on multiple machines, including master node 1, node 2, and node 3, with a total of 118 packages to be updated in node 3, and verifying the installation using ansible-hyphen-hyphen version command on each machine.', 'duration': 424.389, 'highlights': ['The chapter discusses updating and installing Ansible on multiple machines, including master node 1, node 2, and node 3, with a total of 118 packages to be updated in node 3, and verifying the installation using ansible-hyphen-hyphen version command on each machine.', "It's mentioned that 118 packages should be updated in node 3, indicating the specific number of packages that need to be updated.", 'The command to install Ansible is sudo yum install ansible-hyphen-y, which force installs Ansible and checks for the availability of dependencies.', 'The ansible-hyphen-hyphen version command is used to verify the installation of Ansible, showing the version 2.1.0.0 installed on each machine.', 'The configuration file for Ansible exists on all machines, located at etc. ansible ansible.cfg, ensuring consistent configuration across all machines.']}], 'duration': 727.01, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU3666806.jpg', 'highlights': ['The chapter emphasizes the download and installation of Ansible from the Fedora project, avoiding the commercially acclaimed Tower and discussing the pricing models for commercial companies.', 'The process of obtaining ansible from the Fedora project and configuring the EPL repository is explained, including the installation of the EPL release and the verification of the repository configuration on each machine.', 'The chapter discusses updating and installing Ansible on multiple machines, including master node 1, node 2, and node 3, with a total of 118 packages to be updated in node 3, and verifying the installation using ansible-hyphen-hyphen version command on each machine.', 'The configuration file for Ansible exists on all machines, located at etc. ansible ansible.cfg, ensuring consistent configuration across all machines.', "It's mentioned that 118 packages should be updated in node 3, indicating the specific number of packages that need to be updated."]}, {'end': 5974.482, 'segs': [{'end': 5179.31, 'src': 'embed', 'start': 5145.499, 'weight': 3, 'content': [{'end': 5151.082, 'text': "You want to take your own file, customized file, and you don't want ansible to take this default file.", 'start': 5145.499, 'duration': 5.583}, {'end': 5153.323, 'text': 'in such a cases We need to overwrite this file.', 'start': 5151.082, 'duration': 2.241}, {'end': 5154.724, 'text': 'How do we do that?', 'start': 5153.803, 'duration': 0.921}, {'end': 5155.484, 'text': 'before doing that?', 'start': 5154.724, 'duration': 0.76}, {'end': 5160.425, 'text': "Let's check whether the the path has been set by ansible is at appropriate location.", 'start': 5155.524, 'duration': 4.901}, {'end': 5179.31, 'text': 'so if you just use a command set grip with ansible said yeah, so you can see the present working directory of ansible is, etc.', 'start': 5160.425, 'duration': 18.885}], 'summary': 'To use a customized file with ansible, check the path and overwrite the default file if necessary.', 'duration': 33.811, 'max_score': 5145.499, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU5145499.jpg'}, {'end': 5265.921, 'src': 'embed', 'start': 5233.552, 'weight': 0, 'content': [{'end': 5239.273, 'text': "So the next time an ansible tries to run this file, It's gonna take our file rather than it's gonna know.", 'start': 5233.552, 'duration': 5.721}, {'end': 5242.503, 'text': "it's gonna, you know, you Rely on this particular file.", 'start': 5239.273, 'duration': 3.23}, {'end': 5250.509, 'text': 'So this one is critical and Overriding of this configuration file we can do and this features go to this particular path.', 'start': 5242.523, 'duration': 7.986}, {'end': 5254.272, 'text': "We don't have the file as of now.", 'start': 5250.529, 'duration': 3.743}, {'end': 5265.921, 'text': "So sorry, we don't have the particular file, so we can just copy this particular file.", 'start': 5254.272, 'duration': 11.649}], 'summary': 'Ansible will prioritize the specified critical file path for configuration overrides.', 'duration': 32.369, 'max_score': 5233.552, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU5233552.jpg'}], 'start': 4395.322, 'title': 'Configuring and managing ansible for aws cloud', 'summary': 'Covers configuring ansible on master nodes for aws cloud with detailed ansible.cfg parameters, verifying python dependencies, and managing host files for inventory, including practical demonstrations.', 'chapters': [{'end': 4633.664, 'start': 4395.322, 'title': 'Configuring ansible for aws cloud', 'summary': 'Covers the configuration of ansible on master nodes including the installation of aws cloud and three virtual machines, with detailed information on the ansible.cfg configuration file and its parameters.', 'duration': 238.342, 'highlights': ['The model number two consists of two classes. One is installation of AWS cloud and installing three virtual machines. The chapter focuses on the installation of AWS cloud and installing three virtual machines as part of the model number two.', 'We have installed Ansible on all the machines and demonstrated the SSH passwordless authentication between all those machines. Demonstration of the installation of Ansible on all machines and the SSH passwordless authentication between them has been successfully completed.', 'The ansible.cfg configuration file contains various parameters that can be overridden, including inventory file, modules, temporary directories, and more. The ansible.cfg configuration file contains various parameters that can be overridden, including the inventory file, modules, temporary directories, and more, providing flexibility and customization options.']}, {'end': 5366.27, 'start': 4633.664, 'title': 'Ansible configuration and python dependencies', 'summary': 'Covers the importance of backing up the ansible configuration file, verifying python dependencies across multiple machines, and overriding the default ansible configuration file with practical demonstrations.', 'duration': 732.606, 'highlights': ["It's emphasized to take a backup of the Ansible configuration file for safety, and the process of doing so is demonstrated. The importance of taking a backup of the Ansible configuration file is stressed as a crucial step for safety, and the process of taking the backup is clearly explained.", "Verifying the presence of Python dependencies on all machines is demonstrated through commands like 'sudo yum list installed' and 'grep with Python'. The process of verifying the presence of Python dependencies on all machines is demonstrated using commands like 'sudo yum list installed' and 'grep with Python', ensuring the availability of necessary Python packages.", 'Practical demonstration of overriding the default Ansible configuration file is provided, including setting the path and copying the original file to a customized location. A practical demonstration of overriding the default Ansible configuration file is provided, including setting the path and copying the original file to a customized location, showcasing the process with clear instructions.']}, {'end': 5974.482, 'start': 5366.27, 'title': 'Managing ansible configuration and host file', 'summary': 'Discusses the importance of overriding ansible configuration files for application developers or testers, including details on how to override ansible.cfg and roles path. it also emphasizes the significance of managing the host file for inventory management and demonstrates how to add hosts and override the default host file.', 'duration': 608.212, 'highlights': ['The importance of overriding Ansible configuration files Application developers or testers can overwrite the default ansible configuration file to create customized files, depending on their requirements.', 'Demonstrating how to override ansible.cfg and roles path Provides a step-by-step process for overriding ansible.cfg and roles path, allowing users to customize their ansible setup.', 'Significance of managing the host file for inventory management Emphasizes the critical role of the host file in managing inventories, particularly in complex environments with a large number of nodes.', 'Adding hosts and overriding the default host file Demonstrates the process of adding hosts and overriding the default host file using a customized host file, catering to the needs of application or testing teams.']}], 'duration': 1579.16, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU4395322.jpg', 'highlights': ['The ansible.cfg configuration file contains various parameters that can be overridden, including the inventory file, modules, temporary directories, and more, providing flexibility and customization options.', 'The importance of taking a backup of the Ansible configuration file is stressed as a crucial step for safety, and the process of taking the backup is clearly explained.', 'Practical demonstration of overriding the default Ansible configuration file is provided, including setting the path and copying the original file to a customized location, showcasing the process with clear instructions.', 'Demonstrating how to override ansible.cfg and roles path Provides a step-by-step process for overriding ansible.cfg and roles path, allowing users to customize their ansible setup.', 'Significance of managing the host file for inventory management Emphasizes the critical role of the host file in managing inventories, particularly in complex environments with a large number of nodes.']}, {'end': 6947.078, 'segs': [{'end': 6375.498, 'src': 'embed', 'start': 6333.188, 'weight': 0, 'content': [{'end': 6349.615, 'text': "true, so, But if you see UTC and Siebel hosts 151, if I just try to connect app server, let me see it's connecting or not.", 'start': 6333.188, 'duration': 16.427}, {'end': 6352.736, 'text': 'and Siebel iPhone M?', 'start': 6349.615, 'duration': 3.121}, {'end': 6359.018, 'text': 'No, no, I am Siebel app server.', 'start': 6352.736, 'duration': 6.282}, {'end': 6362.474, 'text': 'Siebel app server M ping.', 'start': 6359.018, 'duration': 3.456}, {'end': 6364.195, 'text': "let me see whether it's connecting or not.", 'start': 6362.474, 'duration': 1.721}, {'end': 6365.295, 'text': "It's not connecting.", 'start': 6364.435, 'duration': 0.86}, {'end': 6375.498, 'text': "So that means SSH is not happening properly SSH is not happening properly For the mode 3 It's asking for the password.", 'start': 6365.335, 'duration': 10.163}], 'summary': 'Troubleshooting revealed ssh connectivity issue on siebel app server m.', 'duration': 42.31, 'max_score': 6333.188, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU6333188.jpg'}, {'end': 6547.609, 'src': 'embed', 'start': 6520.262, 'weight': 1, 'content': [{'end': 6531.849, 'text': 'so i can just use ansible my host, hyphen i hosts hyphen m ping.', 'start': 6520.262, 'duration': 11.587}, {'end': 6533.31, 'text': 'it should able to work.', 'start': 6531.849, 'duration': 1.461}, {'end': 6539.514, 'text': 'yes, it is working now because, uh, now it is not able to connect to etc.', 'start': 6533.31, 'duration': 6.204}, {'end': 6540.195, 'text': 'ansible host.', 'start': 6539.514, 'duration': 0.681}, {'end': 6546.289, 'text': 'We are already over it that file and we are able to connect to this particular machine using hyphen I option.', 'start': 6541.468, 'duration': 4.821}, {'end': 6547.609, 'text': 'So there are two cases.', 'start': 6546.289, 'duration': 1.32}], 'summary': 'Using ansible, able to connect to particular machine using -i option.', 'duration': 27.347, 'max_score': 6520.262, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU6520262.jpg'}, {'end': 6848.847, 'src': 'embed', 'start': 6813.245, 'weight': 2, 'content': [{'end': 6820.593, 'text': 'so this machine, whether I can able to log in, yes, it should not log in with password.', 'start': 6813.245, 'duration': 7.348}, {'end': 6827.259, 'text': "okay, ssh copy ID, yeah, it's working.", 'start': 6820.593, 'duration': 6.666}, {'end': 6838.449, 'text': 'now if you just run the ansible all hyphen m ping, it should connect to five, one, one, five, one.', 'start': 6827.259, 'duration': 11.19}, {'end': 6843.119, 'text': "So let's clear this.", 'start': 6840.916, 'duration': 2.203}, {'end': 6845.923, 'text': "Let's clear this.", 'start': 6843.139, 'duration': 2.784}, {'end': 6848.847, 'text': "Let's see, yeah, it's working fine.", 'start': 6847.505, 'duration': 1.342}], 'summary': 'Successfully logged in without password, connected to 51151, ansible ping successful', 'duration': 35.602, 'max_score': 6813.245, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU6813245.jpg'}], 'start': 5974.542, 'title': 'Configuring and troubleshooting ansible communication', 'summary': 'Covers configuring and troubleshooting ansible communication, including testing connectivity, managing host files, and converting node machines to master machines, with quantifiable commands and steps.', 'chapters': [{'end': 6056.7, 'start': 5974.542, 'title': 'Configuring ansible hosts and testing connectivity', 'summary': 'Discusses configuring ansible hosts, testing connectivity using ansible commands, and verifying the availability of hosts with quantifiable commands and steps.', 'duration': 82.158, 'highlights': ["Ansible command 'ansible all --list-hosts' is used to check the availability of hosts. This command is used to list all available hosts, providing a quantifiable check of host availability.", "Using the 'ansible Apache web -m ping' command to test connectivity between machines in the Apache web group. The command utilizes the ping module to test the connectivity within the Apache web group, offering a quantifiable measure of connectivity testing.", "Creating a file called 'host' to specify host IPs and the use of 'etc ansible host' file by default. Describes the process of creating a host file and clarifies the default file used by ansible, providing important configuration details."]}, {'end': 6626.911, 'start': 6058.52, 'title': 'Configuring and troubleshooting ansible communication', 'summary': 'Demonstrates troubleshooting and configuring ansible communication, including stopping and starting ssh service, overriding the host file, and converting a node machine to a master machine.', 'duration': 568.391, 'highlights': ['The chapter demonstrates troubleshooting and configuring Ansible communication, including stopping and starting SSH service The speaker demonstrates stopping and starting the SSH service on different nodes, showing the success and failure of the connection.', 'The chapter includes the process of overriding the host file to establish connections to specific machines The process of overriding the host file using the -I option to connect to specific machines is explained.', 'The speaker explains the process of converting a node machine to a master machine and the necessary steps involved The process of converting a node machine to a master machine is detailed, including editing the ansible hosts file and using ssh-copy-id.']}, {'end': 6947.078, 'start': 6626.911, 'title': 'Testing ansible connectivity and host file management', 'summary': 'Discusses troubleshooting connectivity issues in ansible, including adding and removing ips from the host file, and testing functionality using ansible all -m ping command, demonstrating the use of host files in the production environment.', 'duration': 320.167, 'highlights': ['The chapter discusses troubleshooting connectivity issues in Ansible, including adding and removing IPs from the host file.', 'Demonstrates the use of host files in the production environment for testing functionality using ansible all -m ping command.', 'Ansible reads the files from top to down approach, making it easy to manage host files in the production environment.', 'The process involves adding and removing IPs from the host file to ensure proper connectivity, such as adding 156 and removing 158 from the host file.', 'The functionality of ping and pong from each machine using Ansible technology is tested to ensure proper connectivity.']}], 'duration': 972.536, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/wpIgvy34BzU/pics/wpIgvy34BzU5974542.jpg', 'highlights': ["Using the 'ansible Apache web -m ping' command to test connectivity between machines in the Apache web group. The command utilizes the ping module to test the connectivity within the Apache web group, offering a quantifiable measure of connectivity testing.", 'The chapter demonstrates troubleshooting and configuring Ansible communication, including stopping and starting SSH service The speaker demonstrates stopping and starting the SSH service on different nodes, showing the success and failure of the connection.', 'The process involves adding and removing IPs from the host file to ensure proper connectivity, such as adding 156 and removing 158 from the host file.']}], 'highlights': ['Configuring a security group with rules for SSH, ICMP, HTTP, and HTTPS protocols, allowing for secure and flexible access to the instances.', 'Assigning elastic IPs to AWS instances prevents public IP changes upon reboots, ensuring consistent and static public IPs for each instance.', 'The process involves generating and sharing SSH keys across machines, ensuring passwordless authentication, and connecting nodes without any password, aiding in smooth operation of Ansible.', 'The ansible.cfg configuration file contains various parameters that can be overridden, including the inventory file, modules, temporary directories, and more, providing flexibility and customization options.', "Using the 'ansible Apache web -m ping' command to test connectivity between machines in the Apache web group. The command utilizes the ping module to test the connectivity within the Apache web group, offering a quantifiable measure of connectivity testing."]}