Welcome! We are here again to explore web services,
why we need it?
How web
services help us in the development, who is the best service provider for
this?
Developing
web applications in a traditional way are sometimes tedious as the demand of
scaling needed in terms of hardware so for that, we have to increase hardware
servers as per demand which is time-consuming and costly
Solution
to this problem is AWS (Amazon web services) which helps us in providing the
the best solution and can help us scale up or down based on the demand.
Amazon
backed this support with massive infrastructure. Only we have to access,
compute whenever required.
What is AWS?
Before we begin with AWS lets first
understand, what cloud computing is?
Cloud Computing- the cloud is just a metaphor for
the internet. Cloud computing is one of the major revolutions for today’s computing,
it's trending nowadays and every small and big organization is moving on to the
cloud. It’s an increasing technology which is connected with the traditional
system, distributed system, and virtual system.
To implement cloud computing we need cloud
a service provider such as Amazon which creates subsidiary AWS in 2006 and
introduced EC2, IBM
Google cloud application comes in
2009. Microsoft introduced its application, Microsoft Azure, in 2010, etc.
These services provide users to develop
applications in a cloud environment and can easily access them from anywhere.
Cloud uses the internet as a communication medium,
cloud data are stored and accessed in a remote server (virtual system) with the
the help of cloud service provider services.
AWS (Amazon Web Services)-It’s a service
which works on cloud service platform which helps users to compute, store data
and deliver the content
One of this web service is Amazon Elastic
compute cloud (EC2)
Amazon EC2 provides resizable compute
capacity in the cloud. It is designed to make web-scale computing easier for
developers.
Amazon EC2’s simple web service interface
that allows you to obtain and configure capacity with minimal friction. It
provides you with complete control of your computing resources and lets you run
on amazon’s proven environment.
Amazon’s EC2 Services
·
Flexible cloud
hosting services
·
Designed for
use within the AWS
·
Reliable
·
Secure
·
Inexpensive
Setting up LAMP server using Amazon EC2
Before setting the LAMP server, what is LAMP?
LAMP is the open-source software stack that
provides users an advanced framework to create web applications. It uses Linux
as the operating system, Apache as the webserver, MySQL as a relational database and
PHP as a language. We can use python too as another language.
Let’s begin with setting up Amazon EC2
Step 1: Sign up for AWS / Use your Amazon
user id and password
After your signup for AWS, your Aws account
will be signed up for all the services. You will only be charged for the
services you use. In Amazon EC2
You only pay for what you use. You can see
all the services listed in the image below.
After this we can check with the services we
signed in the below image
We are using Amazon EC2 here to create an instance in LINUX, Let’s begin looking
how we create instances in Linux using AWS EC2.
In services, there is an option to create and
launch instance in Linux.
Now follow the step by step instructions to
create an instance in LINUX
Step 1: We have to choose an amazon machine
image and select the 64bit version.
Step 2:Now we have to choose the type of
the instance
Step 3: we are now configuring the instance
details like
the number of instances, network, etc.
Step 4: Now we need to add the storage
Step 5: Define the tag with key =Name, value
= Webserver
Step
6:Is to configure security group and provide a description with all the protocols
selected.
Step
7: Final step is to review your instance and launch and now you are ready to
go.
These
are the snippets used in our video and course from our experienced developers
having expertise in AWS. To learn more to create instances on different platforms
kindly watch the youtube video below.
No comments:
Post a Comment