Day-4 | AWS & Azure - How to Create Virtual Machines | Free DevOps Course | 45 days |#devops #aws

Day-4 | AWS & Azure - How to Create Virtual Machines | Free DevOps Course | 45 days |#devops #aws

Day Four of DevOps Zero to Hero Course Overview

Abhishek introduces Day Four of the DevOps Zero to Hero course, emphasizing the 45-day complete DevOps journey. He encourages viewers to catch up on previous videos for context.

Evolution of Virtual Machines and Cloud Providers

  • Abhishek mentions a demo playlist covering previous topics, focusing on virtual machines part two.
  • Discusses the evolution of virtual machines, differences between physical servers and virtual machines, and the shift towards cloud platforms like OpenStack, AWS, and Azure.
  • Highlights learning advanced virtual machine creation methods, exploring top cloud providers such as AWS and Azure, as well as on-premise scenarios for organizations still using their data centers.

Creating Virtual Machines on Different Platforms

  • Explains the process of creating virtual machines on AWS, Azure, and on-premise setups to cater to various organizational needs.
  • Requests viewers to promote the free DevOps course within their circles for wider reach and benefit sharing.

Requesting Virtual Machines from Cloud Providers

  • Recaps the previous day's lesson about requesting virtual machines from cloud providers like AWS or Azure through their respective consoles.
  • Details how end-users make requests via AWS console for EC2 instances or through Azure portal for virtual machines with specific specifications provided in response.

Efficiency in Virtual Machine Creation

  • Emphasizes efficiency in handling multiple virtual machine creation requests within organizations by avoiding manual processes through UI interactions.

Efficiency and Automation in DevOps

The discussion revolves around the importance of efficiency in DevOps and how automation, particularly through AWS APIs, plays a crucial role in enhancing productivity for DevOps engineers.

Efficiency as a Core Focus

  • Efficiency is a central theme in DevOps, emphasizing the continuous improvement of routine tasks to optimize performance.
  • AWS offers automation support through features like the AWS API, enabling users to automate processes on AWS services such as EC2.

Leveraging AWS APIs for Automation

  • Different AWS services have dedicated APIs (e.g., AWS EC2 API for EC2 instances) that allow users to interact programmatically with these services.
  • Users can write scripts to make API calls, automating tasks like creating multiple EC2 instances without manual intervention.

Automation Process and Scripting

This segment delves into the process of automation using scripts and highlights the benefits of eliminating manual errors through automated workflows.

Benefits of Automation

  • Automating processes reduces manual errors and saves time by executing tasks efficiently without human intervention.
  • Even automating simple tasks like creating one EC2 instance can significantly enhance productivity and accuracy in operations.

Scripting Approaches

  • Various methods exist for scripting automation on cloud platforms like AWS, Microsoft Azure, or Google Cloud, ensuring consistency across different providers.
  • Cloud providers develop APIs for their services (e.g., AWS EC2 API), allowing developers to interact with these services programmatically.

Scripting Techniques for Automation

Exploring different scripting techniques such as CLI, direct API interaction, and tools like boto3 in Python for interacting with AWS services programmatically.

Interacting with APIs

  • APIs like the AWS EC2 API receive requests and provide responses based on validity, authentication, and authorization criteria set by the cloud provider.
  • Users must ensure that their requests are valid, authenticated, and authorized to interact successfully with cloud service APIs.

Scripting Tools

  • Scripts can be created using CLI tools like AWS CLI or directly interacting with APIs using programming languages such as Python via modules like boto3.

Virtual Missions and Terraform Overview

In this section, the speaker discusses virtual missions and introduces Terraform as a competitor in the market for automation tools.

Virtual Missions and Terraform

  • Terraform is highlighted as an alternative tool for automating resource creation across various cloud providers.
  • Unlike AWS-specific tools like AWS CLI, API, and CFT, Terraform can automate processes across multiple cloud platforms such as AWS, Azure, and Google Cloud.
  • Tools like AWS CLI, API, CFT, or Terraform enable direct communication with the AWS API to automate processes efficiently.
  • Manual approaches for creating resources are possible but inefficient compared to automated methods in DevOps practices.
  • Understanding different automation tools like Terraform is crucial for interviews where questions about infrastructure creation methods may arise.

Choosing Between CDK and Terraform

This part delves into considerations when selecting between CDK (AWS Cloud Development Kit) and Terraform for infrastructure automation based on organizational needs.

CDK vs. Terraform Selection

  • Organizations heavily focused on AWS may prefer CDK over Terraform due to advanced features tailored specifically for AWS environments.
  • CDK receives initial support from AWS for new services before open-source tools like Terraform due to its proprietary nature.

Hybrid Cloud Model Considerations

The discussion shifts towards the hybrid cloud model's relevance in choosing automation tools like Terraform based on infrastructure deployment across multiple cloud platforms.

Hybrid Cloud Model Insights

  • Organizations opt for a hybrid cloud model to leverage specific strengths of different cloud platforms such as Google Cloud's AI/ML capabilities alongside other services from providers like AWS.

Understanding AWS and Azure Management

In this section, the speaker delves into practical aspects of managing AWS through the UI, emphasizing account creation and service selection. The discussion also touches on key considerations such as free tier eligibility and creating key pairs for EC2 instances.

Managing AWS Through the UI

  • Accessing AWS Console: Demonstrates how to access the AWS console for new users or those without access.
  • Creating an AWS Account: Provides a step-by-step guide on creating a new AWS account through sign-in or directly via the browser.
  • Account Creation Process: Explains the straightforward process of answering questions, providing card details for validation (with no charges), and completing the account setup.
  • Service Selection: Guides users on navigating through various services offered by AWS and specifically choosing EC2 instances for deployment.
  • Service Configuration: Shows how to search for services, select EC2, choose operating systems like Ubuntu, and opt for free tier eligibility to avoid charges during initial usage.

Launching an Instance in AWS

  • Initiating Instance Launch: Details the manual process of launching an instance in AWS through the UI by selecting configurations like instance name, operating system, and free tier eligibility.
  • Free Tier vs. Paid Options: Highlights the differences between free tier resources (limited CPU and memory) and paid options offering more resources at a cost.
  • Key Value Pair Creation: Emphasizes creating key value pairs essential for logging into EC2 instances securely using RSA encryption with pem format for private keys.

Creating Instances on AWS and Microsoft Azure

In this section, the speaker discusses the process of creating instances on both AWS and Microsoft Azure, highlighting differences in account setup and free membership durations.

Creating Instances on Microsoft Azure

  • Click on portal.azure.com to access the Azure portal.
  • Microsoft Azure offers integration with GitHub for easy sign-up.
  • Azure provides a shorter free membership period compared to AWS (around 30 to 45 days).

Creating Virtual Machines on Azure

  • The user interface and experience of Azure are considered slightly better than AWS.
  • Users starting with a free Azure account can follow similar steps as with AWS for creating resources.

Logging into EC2 Instance and Automation

This section covers logging into an AWS EC2 instance, comparing user interfaces of AWS and Azure, and hints at automation processes in subsequent classes.

Logging into EC2 Instance

  • Once the EC2 instance is up and running, users can log in from the UI or using key-value pairs.

User Interface Comparison

  • The speaker finds the user interface/user experience of Azure slightly better than that of AWS.

Automation Process Preview

  • Future classes will delve into automating processes for account creation and resource management.
Video description

Join our 24*7 Doubts clearing group (Discord Server) www.youtube.com/abhishekveeramalla/join Udemy Course (End to End DevOps Project) https://www.udemy.com/course/ultimate-devops-project-with-resume-preparation/?referralCode=9F588E43854814744430 --- --- Support my work https://www.buymeacoffee.com/abhishekprd Hi Everyone, Today is Day-3 of Free DevOps Course and in this video we will learn about the another very important topic for every DevOps Engineer that is Virtual Machines. We will learn: -------------------- How to create Virtual Machines ? What are the different ways ? Telegram channel =============== https://t.me/abhishekveeramalla About me: ----------------- LinkedIn: https://www.linkedin.com/in/abhishek-veeramalla-77b33996/ GitHub: https://github.com/iam-veeramalla Medium: https://abhishekveeramalla-av.medium.com/ YouTube: https://www.youtube.com/channel/UCnnQ3ybuyFdzvgv2Ky5jnAA?app=desktop . . Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.