What are the advantages and disadvantages of membrane structures.pptx
Cloud ppt
1. Hosting Web Based Application Using Amazon EC2
Submitted by:
Samreen Akhtar
18DCS058
Dip In comp Engg
6th Semester
Submitted to:
Dr.Sunil
Training and placement coordinator
Computer Engineering
2.
3. Content
Introduction
What Is Cloud Computing
History Of Cloud Computing
Cloud Services Models
Cloud Deployment Models
Architecture
Language Used
What is AWS and its categories
EC2
Step To Launch An Instance
Step To Connecting Linux Machine With Putty
Screenshot
Conclusion
Bibliography
4. Introduction
App Deployment is an important step after App
Development. It is a very difficult task for anyone to
predict the computing power required for the application.
The server, storage, OS, network connections, etc. are
difficult to manage simultaneously.
AWS EC2 (Elastic Compute Cloud) is a
web service offered by Amazon that allows users to rent
virtual private server and server can be divided into
various instances (Instances can be understood as a
small part of a large computer, having its own hard drive,
network connection, OS, etc.) It provide complete control
of computing resources, which one can scale as per the
requirement.
5. What is cloud computing?
• In simple words Cloud Computing enables on-
demand services like compute, storage,
networking etc. which can be accessed through
the internet and the user is not required to
manage these resources.
• Everything is done by remote, nothing is saved
locally.
Features
Pay As You Go
Scalable
Flexible
Secure and disaster Recovery
6. History of Cloud Computing
The concept of Cloud Computing was introduced back in 1960s by John McCarthy.
According to him “computing may someday be organized as a public utility”. The
characteristics of cloud computing were explored first time in 1996 by Douglas
Parkhill in his book, “The challenge of the Computer Utility”. The history of team
“Cloud” is originated from telecommunication world, where telecom companies
started offering Virtual Private Network (VPN) services along with comparable quality
of services at a much lower cost. Before invention of VPN, they provided dedicated
point-to-point data circuits which are nothing but wastage of bandwidth. But by using
VPN services they able to switch traffic to balance utilization of overall network.
Cloud computing now utilization of overall network. Cloud Computing now extends
this to cover servers and network infrastructure. Many players in industries have
jumped into cloud computing and implemented it. For example Amazon has played a
important role and launched the Amazon Web Services (AWS) in 2006.
Along with this Google and IBM also started research projects in Cloud computing.
Eucalyptus become the first open source platform for deploying the private cloud.
7. Cloud Services Models
Service Models are the reference models on which the cloud Computing is based.
There can be categorized into three basic service models as listed below:
1. Infrastructure as a Service (IaaS)
2. Platform as a Service (Paas)
3. Software as a Service (SaaS)
.
8. Infrastructure as a Service
IaaS is the delivery of technology infrastructure as an on
demand scalable service. IaaS provides access to
fundamental resources such as physical machine, virtual
machine, virtual server, etc.
• Usually billed based on usage
• Usually multi tenant virtualized environment
• Can be coupled with Managed Services for OS and
application support
9. Platform as a Service (PaaS)
PaaS provides the runtime environment for
application, development & deployment tools, etc.
PaaS provides all of the facilities required to support
the complete life cycle of building and delivering web
applications and services entirely from the Internet.
Typically application must be developed with a
particular platform in mind.
• Multi tenant environments
• Highly scalable multi-tier architecture
10. Software as a Service (SaaS)
SaaS model allows to use software application as a
service to end users. SaaS is a software delivery
methodology that provides licenced multi-tenant access
to software and its functions remotely as a Web-based
service.
• Usually billed based on usage
• Usually multi tenant environment
• Highly scalable architecture
11. Cloud Deployment Models
Deployment models define the type of assess to the cloud, i.e., how
the cloud is located?
Cloud can have any of the three types of access:
• Public
• Private
• Hybrid
• Community
12. Cloud Deployment Models
Public Cloud : The Public Cloud allows systems and services to be easily
accessible to the general public. Public cloud may be less secure because of its
openness, e.g., e-mail.
Private Cloud : The Private Cloud allows systems and services to be accessible
within an organization. It offers increased security because of its private nature.
Community Cloud : The Community Clod allows systems and services to be
accessible by group of organizations.
Hybrid Cloud : The hybrid Cloud is mixture of public and private cloud. However,
the critical activities are performed using private cloud while the non-critical
activities are performed using public cloud.
13. Architecture
Cloud computing is a collection of all IT
services that are provided to a customer
over a network on leased basis and with
the ability to scale up or down their
service requirements. Most of the time
cloud computing services are delivered
by third party provider who owns the
infrastructure.
17. What is AWS?
• Amazon Web Services (AWS) is a secure cloud platform that offers a broad
set of global cloud-based products.
• AWS provides you with on-demand access to the compute, storage, network,
database, and other IT resources and management tools.
• AWS offers flexibility.
• You pay only for individual service you need, for as long as you use them.
• AWS service work together like building blocks.
18. Categories of AWS services
AWS services fall under different categories, and each category contains one or more
services. You can select the services that you want from these different categories to
build your solutions.
19. AMAZON ELASTIC COMPUTE CLOUD (EC2)
Amazon Elastic Compute Cloud (Amazon EC2)provides virtual machines where you
can host the same kinds of applications that you might run on a traditional on-
premises server. It provides secure, resizable compute capacity in the cloud. EC2
instances can support a variety of workloads. Common uses for EC2 instances
include, but are not limited to:
• Application servers
• Web servers
• Database server
• Game servers
• Mail servers
• Media servers
20. Steps to launch an instance:-
Step 1: Choose an Amazon Machine Image (AMI
An AMI is a template that contains the software configuration (operating system, application server, and
applications) required to launch your instance. You can select an AMI provided by AWS, our user
community, or the AWS Marketplace; or you can select one of your own AMIs.
21. Step 2: Choose an Instance Type
Amazon EC2 provides a wide selection of instance types optimized to fit different use cases. Instances
are virtual servers that can run applications. They have varying combinations of CPU, memory,
storage, and networking capacity, and give you the flexibility to choose the appropriate mix of
resources for your applications. Learn more about instance types and how they can meet your
computing needs.
22. Step 3: Configure Instance Details
Configure the instance to suit your requirements. You can launch multiple instances from the same
AMI, request Spot instances to take advantage of the lower pricing, assign an access management
role to the instance, and more.
23. Step 4 : Add Storage
Your instance will be launched with the following storage device settings. You can attach additional EBS
volumes and instance store volumes to your instance, or edit the settings of the root volume. You can
also attach additional EBS volumes after launching an instance, but not instance store volumes. Learn
more about storage options in Amazon EC2.
24. Step 5 : Add Tags
A tag consists of a case-sensitive key-value pair. For example, you could define a tag with
key = Name and value = Webserver.
A copy of a tag can be applied to volumes, instances or both.
25. Step 6 : Configure Security Group
A security group is a set of firewall rules that control the traffic for your instance. On this page, you
can add rules to allow specific traffic to reach your instance. For example, if you want to set up a
web server and allow Internet traffic to reach your instance, add rules that allow unrestricted
access to the HTTP and HTTPS ports. You can create a new security group or select from an
existing one below. Learn more about Amazon EC2 security groups.
26. Step 7 : Please review your instance launch details. You can go back to edit changes for each
section. Click Launch to assign a key pair to your instance and complete the launch process.
Assuming you have a Key Pair file .pem already sole, connect to your instance with putty
27. STEPS TO CONNECTING A LINUX (UBUNTU) MACHINE WITH PUTTY
PuTTY is a free tool for connecting via SSH (Secure Shell) for Windows users. We will be using this to
access our newly created Linux machine!
28. STEP 1 - START PUTTYGEN
(CONVERT YOUR KEY FOR USE WITH PUTTY)
(for example, from the Start menu, choose All Programs > PuTTY > PuTTYgen).
29. STEP 2 - CHOOSE LOAD.
By default, PuTTYgen displays only files with the extension .ppk. To locate your .pem file, select the
option to display files of all types.
STEP 3 - SELECT YOUR KEY
30. STEP 4 - CHOOSE SAVE PRIVATE KEY
This will save the key in the format that PuTTY can use.
Step 5. START PUTTY
31. Step 6. SET YOUR PPK KEY
If you're wondering where to select your PuTTYGen key.
Connection > SSH > Auth
33. Steps of installing vista control panel to your server
i) # Download installation script
curl -O http://vestacp.com/pub/vst-install.sh
ii) # Run it
bash vst-install.sh
34. Step 2: Using above URL (3.108.1.31) we are able to open vista control panel using above
credential.
35. Step 3: After login we will get vista control panel.
36. Step 4: After getting control panel, now we have to go your domain account.
37. Step 5: After that we have to go MANAGE DNS and paste your record.
38. Step 5: After that we have to go on hosting section and click on domain and add your domain.
After that our domain is going to live.
39. Step 7: Using our HOSTNAME (ec2-3-108-1-31.ap-south-1.compute.amazonaws.com)
USERNAME (admin_samreen)
PASSWORD (**********)
Upload your website on FileZilla
40. After uploading our template go to our domain and refresh your domain then you are able to make
your website live using amazon ec2.
(Main page)
48. Conclusion
This project evaluates different services provided by the leading cloud provider,
AMAZON. It shows how to create/own/access elastic compute cloud instance in all
the possible ways. It deals with issues like bringing the machine up and down at
anytime and creating users in a secure way with authenticated keys, which are very
useful for an organization like universities, non-IT based companies that are willing
to join Amazon Cloud. Finally, it provides some performance benchmark results to
better understand the use of having instances on a cloud. One of the future works of
this paper is to provide more information on better usage of the available resources
on the cloud. Other works can be to incorporate all the services in different
combinations (like EC2 with CloudFront, S3, etc.) and then benchmark the best
performance, Create machine images from scratch, Security of data on the cloud,
etc.