Blog Blog Posts Business Management Process Analysis

AWS Fundamentals: A Beginner's Guide

Have a look at this video on AWS tutorial to learn more on AWS!

 

What is AWS?

AWS fundamentals would be incomplete without knowing what AWS is. Let us try to understand the definition of AWS through an example.

Imagine yourself as an entrepreneur having a website and services, and you have a modest amount of customers, let us say 20,000. What if suddenly the viral content on your website attracted a lot of traffic? What if 200,000 people visit your site at the same time? Is there not a possibility for the server to crash? Yes, it would indeed crash. But if you use AWS, this situation won’t happen.

AWS lets you scale up or down your services. What if you want to start your business in a new location but you don’t have enough capital? AWS has a solution for that as well. You can access a lot of services including infrastructure and software services, as well as computing power, scalability, durability, and secure database storage.

In simple terms, AWS is more like renting everything that is required for a business. 

Amazon builds huge high-speed computers, storage devices, and other software and infrastructure tools. These can be accessed by all those having a proper internet connection through the website amazonwebservice.com 

So, AWS is a cloud computing platform that allows you to create cloud-based applications. It provides a mix of infrastructure and software services as well as computational power, scalability, dependability, and secure database storage.

AWS is a good place to start when it comes to quality development because it has roughly 200 products and services available all around the world. It aids with identification, configuration, utilization, control, auditing, and management.

 

Do you wonder who uses AWS?

A wide range of clients including budding start-ups, elite companies, and government organizations use AWS.

AWS Clients

And the list continues.  Does every client of AWS seem familiar to you? Let us explore what AWS provides to these companies.

 

What are the services that AWS provides to its clients?

The services offered by AWS are under various domains such as: 

domains of service that AWS provides
AWS services

There are so many tools and services under each domain. In 2021, AWS has about 200+ products. Let us see what they are.

It is difficult to learn about all products, so let us focus on a few popular products.

 

Computing Products

Our AWS Tutorial will help you understand more on this topic!

 

Storage Services

 

Database Services

 

Network and Content Delivery Services

Preparing for job interviews? Have a look at our blog on AWS Interview Questions and excel your hiring journey!

Let us also take a look at some other tools. 

Enroll in our AWS Certification Course to become a Certified AWS Professional!

 

How is AWS unique?

Do you wonder why so many companies rely on AWS?

security and reliability
 scalability and adaptability

Let us conclude the top seven benefits of AWS in the form of an image:

Benefits of Amazon Web Services
 

Deploy Code to a Virtual Machine with AWS CodeDeploy

Application code deployment to an AWS VM is covered in this section. You will deploy code to virtual machines that you build and administer with Amazon EC2 using AWS CodeDeploy, a tool that automates code deployments to AWS or on-premises servers.

Let’s move on to the tutorial.

 

Step 1:

To access your virtual machine using Amazon EC2, you must first generate a key pair. Go straight to Step 2 if you have a key pair.

 

Step 2:

Open AWS Management Console, Click Create Key Pair.

 

Step 3:

Choose a name for your key pair. We’ll be using MyFirstKey for this lesson. Click the Create button.

 

Step 4:

Enter the CodeDeploy Console.

  1. In the top left corner of the AWS Management Console, click the home icon. Locate CodeDeploy in the Developer Tools section and click to launch the AWS CodeDeploy console.
  1. Click Get Started Now in the AWS CodeDeploy console.
  1. Click Next after selecting Sample Deployment.
 

Step 5:

Launch a Virtual Machine

To deploy your code, you will need to launch an AWS virtual machine. Amazon EC2 instances, or just ‘instances’ for short, are the term given to AWS virtual machines. In this phase, we will use a pre-configured EC2 template to start three EC2 instances.

  1. In the top left corner of the AWS Management Console, click the home icon. Locate CodeDeploy in the Developer Tools section and click to launch the AWS CodeDeploy console.
  1. The following settings will be used to configure your instance settings:

Operating System: You have the option of selecting the operating system for your EC2 instance. We’ll be using Amazon Linux for this lesson.

To keep within the free tier, the t1.micro instance type was chosen as the default setting for this tutorial. Amazon EC2 offers a diverse set of instance types that are tailored to certain use cases. Instance types provide different combinations of CPU, memory, storage, and networking capabilities, giving you the freedom to select the best resource mix for your applications.

Key Pair Name: To connect to the Amazon EC2 instances, select the Amazon EC2 instance key pair you generated in step 1, MyFirstKey, from the drop-down list. You can also use a key pair that you already own.

Tag Key and Value: During deployments, AWS CodeDeploy will utilize this tag key and value to find the instances. You may leave the default settings alone.

Click Launch Instances.

Certification in Cloud & Devops

 

Step 6:

Name Your Application and Go Over Your Revisions

During code deployments, AWS CodeDeploy utilizes application names to ensure that it is referencing the right deployment components, such as the deployment group, deployment settings, and application revision.

  1. Enter HelloWorld as the name for your sample application in the Application Name field and click Next Step.
  1. Examine the details of your application revision, such as its location and description.

Please keep in mind that you have the option of downloading the sample package. You may evaluate details about the application revision you want to deploy to EC2 in this view. An application revision is an archive file that contains source code, web pages, executable files, and deployment scripts, as well as an application specification file (AppSpec file). The AppSpec file assists CodeDeploy in mapping the source files in your version to their destinations and running scripts at different phases of the deployment.

Click the Next Step button.

 

Step 7:

Create a Deployment Group

A deployment group is a collection of individual Amazon EC2 instances to which CodeDeploy delivers updates. A deployment group comprises instances that have been individually tagged, Amazon EC2 instances in Auto Scaling groups, or both.

Leave the suggested deployment group name (DemoFleet) in the Deployment Group Name field alone.

The Amazon EC2 instances to deploy will then be specified by providing the key-value pair in the Seach by Amazon EC2 Tags section:

The data from Step 3 should be auto-populated in the Key and Value fields.

The number of EC2 instances to which you will deploy code is displayed in the Instances column. We have deployed and pre-configured three EC2 instances for this tutorial, and these instances have already been tagged together as a deployment group.

Select the Next Step option.

 

Step 8:

Create a Service Role

In this step, you will authorize AWS CodeDeploy to deploy to your instances. When you wish to provide rights to an AWS service, such as Amazon EC2 or AWS CodeDeploy, you establish a role for it. Because these services have access to AWS resources, you must define a role to specify what the service is permitted to do with those resources.

Make a new service role for yourself. You can pick whether you already have a service role. Make use of an existing service role.

You can accept the default value of CodeDeploy HelloWorld for the role name. Choose an existing service role from the Role Name drop-down list if you are utilizing it.

Next, click the Next button.

Become a Cloud and DevOps Architect

 

Step 9:

Deploy Your Application

In this phase, we’ll choose a deployment configuration and then launch the deployment to our three EC2 machines. We will have successfully launched a live and working website that we can access online by the conclusion of this phase.

  1. The deployment configuration specifies how many instances to deploy your application versions to at the same time and explains the deployment’s success and failure circumstances. For example, if you deploy your application to three instances and choose the default configuration (“One at a Time”), this setup will deploy to one instance at a time.

    Accept the Default Deployment Configuration and press the Next Step button.

  1. Examine the deployment details and then click Deploy Now.

    Please keep in mind that this may take a few minutes to finish.

  1. Each instance receives a single web page in our sample revision. When you’ve finished all three instances, click View All Instances.
  1. Click the instance ID of one of the instances to which you deployed. This will take you to the EC2 dashboard, where you can see the instance you just started.
  1. To test if your sample application was properly deployed, copy the address from the Public DNS box in the bottom panel, put it into your browser, and you will see your live web page.
 

Step 10:

Clean up your instances

You must clear up the materials used in this lesson to avoid future costs. Unless you remove them, the EC2 instances you launched for this tutorial will continue to operate.

  1. The search box in the EC2 interface is pre-populated with a search filter for the Instance ID. If you remove this filter, you will see all of the instances launched by CodeDeploy.
  1. To terminate an Amazon EC2 instance, check the boxes next to each of its boxes. Choose Actions, Instance State, and then click Terminate.

    If asked, choose Yes, Terminate.

Here, AWS CodeDeploy was used to generate and finish your first code deployment to Amazon EC2 instances. You began by launching three instances that were pre-configured with the appropriate tags and installed with the agent required to use AWS CodeDeploy, using a template provided. Finally, you configured your application for deployment, authorized CodeDeploy to deploy to your instances, and successfully deployed your code.

 

Conclusion

Any business or organization can speed up its growth when it incorporates technologies such as cloud computing and AWS into its system. In no time, the inclusion of sophisticated technology into more sectors of the economy, such as the financial sector, health sector, educational sector, and other industrial sectors, has been witnessed.

AWS, along with other technologies, has been undergoing consistent development. These changes make it capable of solving modern challenges. Thus, AWS has a promising future ahead of it.

Caught up with doubts? Have a look at our AWS Community right now!

The post AWS Fundamentals: A Beginner's Guide appeared first on Intellipaat Blog.

Blog: Intellipaat - Blog

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/aws-fundamentals-a-beginners-guide/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×