Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer • Cloud Computing Basics • Advantages of Cloud Computing • Types of Cloud Computing • Amazon Web Services • Amazon EC2 -Demo • AMI, instance, key pairs, security group, Availability Zone, Regions etc. Agility – where users has independence to re-provision a technological infrastructure of the organization. Cost – pay as you go service, no need to purchase any heavy server and storage equipment. Device and location independence – As cloud infrastructure is offsite and an access via the internet, user can connect from anywhere and any device. Maintenance – As organization does not need to install any physical device on their location, so there is no pain of maintenance or IT support. Multi-tenancy – Enables sharing of cloud resources (server, storage & apps) among large number of users without worrying about load capacity, efficiency and utilisations. Performance - is good because of consistent and loosely coupled architecture. Security – is more than owing an infrastructure as cloud providers always follows disaster recovery, latest operating systems, high end data storage, backup services, networking services, mirrored websites, internet based clusters. Unlimited Computing Power and storage – Organization as ability to increase the memory, processing power and another hardware configuration at any point during their usage. Based on cloud location, we can classify cloud as: Public Private Hybrid Community IaaS (Infrastructure-as-a-Service) = Cloud Infrastructure Service e.g. :- AWS(Amazon web services), Windows Azure, Google Compute Engine (GCE) PaaS (Platform-as-a-Service) = Cloud Platform Service e.g. :- Google App Engine, Engine Yard. Google claims it has 200,000 developers building applications on top of its App Engine PaaS. SaaS (Software-as-a-Service) = Cloud Application Service e.g. :- Google Docs, Gmail, Cisco Webex, Salesforce, Citrix GoToMeeting 1 • Amazon EC2 also known as Amazon Elastic Compute Cloud provides resizable computing capacity in the Amazon Web Services (AWS) cloud. Allows users to rent virtual computers on Amazon Cloud. 2 • Using EC2, it eliminates the need to invest in computing hardware up front, which saves money but also allows applications to develop and deploy faster. 3 • EC2 allows scalable deployment of applications by providing a web service, through which a user can boot an AMI (Amazon machine image) to create a virtual machine, which Amazon calls an "instance“ 4 • EC2 instance will automatically scale up to add capacity to handle the extra traffic. It supports Elastic load balancing for better service. 5 • Amazon EC2 has Elastic Block Store (Amazon EBS) and Auto Scaling capabilities to make it easy for better performance and availability for your applications. Compute Storage EC2 Provides virtual, scalable private servers using Xen S3 Simple Storage Service - It provides the storage based on the web service calls. It provides long term data storage option where Glacier organization has to access the data with low frequent Database Networking access time. VPC RDS Simple DB Dynamic DB Virtual Private Cloud – It creates logically virtual VPC instance of EC2 for each VPN connection. Relational Database Service – RDS provides database solution with MySQL, Oracle, SQL Server, PostgreSQL etc. Allows developers to run query on structure data. It operates in EC2 and S3 environment. It is no SQL online database service. Private IP – Amazon provides Private IP when you launch an instance. This can be used for communication between the interfaces. Public IP – Amazon also provides public IP to communicate between instance and internet. Elastic IP – To assign static IP address to your EC2 instance. If you reboot the instance a new Public IP address is assigned. To reserve the IP address, use Elastic IP. Traditional Capacity Server - 2 2nd server instance for high traffic 8 hrs. Capacity of only 1 server At the end of the day, 1/3rd savings with EC2 1 server instance for 8 hrs. 1 server instance for 8 hrs. 1 server instance for 8 hrs.