43
Deploying for Success on the Cloud: EBS on Amazon VPC Phani Kottapalli Pavan Vallabhaneni AST Corporation August 17, 2012

Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

Embed Size (px)

Citation preview

Page 1: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

Deploying for Success on the Cloud: EBS on Amazon VPC

Phani KottapalliPavan VallabhaneniAST CorporationAugust 17, 2012

Page 2: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

2

Agenda

Amazon AWS Global Infrastructure

AWS VirtualPrivateCloud(VPC) Architecture

Different components in VPC

Elastic Block Storage(EBS)

Elastic Compute Cloud(EC2)

Deploy E-Business suite database on EC2 running on VPC

Other Available services in AWS

Page 3: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

3

Amazon AWS Infrastructure

Page 4: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

4

Amazon AWS Infrastructure

AWS has 8 different Regions located throughout the world

Each Region contains two or more availability zones.

The AWS regions are isolated from each other.

Multiple Network connected available zones in each region

Edge locations serve requests for CloudFront and Route 53.

Cloud Front is a content delivery network.

Route 53 is a DNS service

Page 5: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

5

Amazon AWS Infrastructure

* At present zone D is also available in US East Region

• Regions are separate clouds• Multiple Network connected available zones in each region

Page 6: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

6

AWS Virtual Private Cloud(VPC)

Enables to create virtual private network topology

Launch AWS resources in a Virtual network

Control on the ip-address range

Control on subnets , routes , gateways and security

Use VPC as extension of data center

Page 7: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

7

AWS Virtual Private Cloud(VPC)

Page 8: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

8

AWS Virtual Private Cloud(VPC)

Page 9: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

9

Amazon Virtual Private Cloud(VPC)

Page 10: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

10

Amazon Virtual Private Cloud(VPC)

• Step by Step process of VPC

Page 11: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

11

Amazon Virtual Private Cloud(VPC)

• Login to AWS Management Console and select VPC service

Page 12: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

12

Amazon Virtual Private Cloud(VPC)

• List of VPC options to build

Page 13: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

13

Amazon Virtual Private Cloud(VPC)

• Select CIDR(Classless Inter-Domain Routing)range for VPC and click on create vpc

Page 14: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

14

Amazon Virtual Private Cloud(VPC)

Page 15: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

15

Amazon Virtual Private Cloud(VPC)

Page 16: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

16

Amazon Virtual Private Cloud(VPC)

• VPC Status

Page 17: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

17

Amazon Virtual Private Cloud(VPC)

• Main route table comes by default with vpc

• Custom route table is created by wizard

• Subnet is associated with custom route table

Page 18: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

18

Amazon Virtual Private Cloud(VPC)

• Security Group is a group of instances that share common setup of rules

• The rules determines what traffic is allowed in and out the instances.

Page 19: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

19

Amazon Virtual Private Cloud(VPC)

Page 20: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

20

Amazon Virtual Private Cloud(VPC)

Page 21: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

21

Amazon Virtual Private Cloud(VPC)

Page 22: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

22

Amazon Virtual Private Cloud(VPC)

Page 23: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

23

Amazon Virtual Private Cloud(VPC)

Page 24: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

24

Amazon Virtual Private Cloud(VPC)

Page 25: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

25

Amazon Virtual Private Cloud(VPC)

Page 26: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

26

Amazon Virtual Private Cloud(VPC)

Elastic IP(EIP) is used to assign static public ip-address for EC2 Instance.

Page 27: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

27

Different components in VPC

Routing

Security

Internet Gateway

Virtual Private Gateway

Customer Gateway

Page 28: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

28

Different components in VPC

AWS provides two ways for you to control security in VPC

• Security groups • Network ACLs.

They both enable you to control what traffic goes in and out of EC2 instances, but security groups work at the instance level, and network ACLs work at the subnet level.

Page 29: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

29

Different components in VPCFeature DescriptionSupport for VPC in US-West (N.California), Asia Pacific (Singapore), Asia Pacific (Tokyo)

You can create VPCs in any of the five AWS Regions (US-East (Virginia), US-West (N.California), EU-West (Ireland), Asia Pacific (Singapore), or Asia Pacific (Tokyo)).

Support for VPC in multiple Availability Zones in each Region

You can create a VPC that spans multiple Availability Zones in a Region. Since each VPC can have multiple subnets, you can put each subnet in a distinct Availability Zone. Virtual private gateways and Internet gateways are regional objects, and can be accessed from any Availability Zone.

Support for multiple VPN Connections per VPC You can create multiple VPN connections to a single VPC. This can be used to connect multiple branch offices to a single VPC, or to provide redundant VPN connections from a single location.

VPN Connection Status You can view the status of each VPN Connection on the AWS Management Console and via API/CLI. Status includes connection state (up or down), tunnel state, time since last state change, and descriptive text for connection errors.

Support for multiple VPCs per AWS account per Region

You can create multiple, fully-independent VPCs in a single Region without having to use additional AWS accounts. You can, for example, create production networks, development networks, staging networks, and test networks as needed.

Page 30: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

30

Components - Limit in VPCComponent Limit Comments Number of VPCs per region 5Number of subnets per VPC 20Number of Internet gateways per region 5 One per VPC

Number of virtual private gateways per region 5 One per VPC

Number of customer gateways per region 50

Number of VPN connections per region 50 Ten per virtual private gateway

Number of route tables per VPC 10 Including the main route tableNumber of entries per route table 20

Number of VPC Elastic IP addresses per AWS account 5You have one limit for VPC Elastic IP addresses (5) and another for standard EC2 addresses (5).

Number of VPC security groups per VPC 50

Number of rules per VPC security group 50

Number of VPC security groups a VPC instance can be in 5

Number of network ACLs per VPC 10Number of rules per network ACL 20Number of BGP(Border Gateway Protocol) Advertised Routes per VPN Connection 100

Amazon EC2 CC1, CG1, and Micro Instances are not available in a VPC at this timeAmazon DevPay paid AMIs are not supported in Amazon VPC

Note: Some components limit can extend on requestRef: aws.amazon.com

Page 31: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

31

Elastic Block Storage(EBS) Amazon Elastic Block Store (EBS) provides block level storage volumes for

use with Amazon EC2 instances.

Amazon EBS volumes are network-attached, and persist independentlyfrom the life of an instance.

Amazon EBS allows you to create storage volumes from 1 GB to 1 TB thatcan be mounted as devices by Amazon EC2 instances. Multiple volumescan be mounted to the same instance.

Amazon EBS enables you to provision a specific level of I/O performance ifdesired, by choosing a Provisioned IOPS volume. This allows you topredictably scale to thousands of IOPS per Amazon EC2 instance.

Each storage volume is automatically replicated within the sameAvailability Zone. This prevents data loss due to failure of any singlehardware component

Page 32: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

32

Elastic Block Storage(EBS) Amazon EBS also provides the ability to create point-in-time snapshots of

volumes, which are persisted to Amazon S3.

These snapshots can be used as the starting point for new Amazon EBSvolumes, and protect data for long-term durability. The same snapshot canbe used to instantiate as many volumes as you wish.

Once a volume is created, it can be attached to any Amazon EC2 instancein the same Availability Zone.

A volume can only be attached to one instance at a time, but manyvolumes can be attached to a single instance.

If an instance fails or is detached from an Amazon EBS volume, thevolume can be attached to any other instance in that Availability Zone.

Page 33: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

33

Elastic Compute Cloud(EC2)

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud.

Amazon EC2 presents a true virtual computing environment,allowing you to use web service interfaces to launch instanceswith a variety of operating systems.

Page 34: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

34

Elastic Load Balancing

Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances in a single Availability Zone or multiple Availability Zones.

Reroutes traffic to healthy instances until the unhealthy instances have been restored.

In VPC we can use as an internal load balancer

Elastic Load Balancing supports the ability to stick user sessions to specific EC2 instances.

Elastic Load Balancing supports use of both the Internet Protocol version 4 and 6

Page 35: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

35

Deploy E-Business suite Database on EC2

Page 36: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

36

Deploy E-Business suite Database on EC2

127.0.0.1 ebs.astaws.oracle.com ebs localhost.localdomain localhost

Page 37: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

37

Other Available Services

Amazon S3 provides a simple web services interface that can be used to store and retrieve data.

Write, read, and delete objects containing from 1 byte to 5 terabytes of data.

Objects are stored in buckets.

Authentication mechanisms are provided to ensure data is secure.

Secure data upload/download and encryption for additional data protection.

Designed to provide 99.99% durability and 99.99% availability of objects.

Amazon Simple Storage Service (Amazon S3)

Page 38: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

38

Other Available Services

Content Storage and Distribution

Storage for Data Analysis

Backup, Archiving and Disaster Recovery

Common Uses – Amazon S3

Page 39: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

39

Curiosity

From the control room in Pasadena, California, NASA/JPL is using Simple Storage Service (S3) to capture and store images and metadata collected from the Mars Exploration Rover

Page 40: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

40

Other Available Services

Amazon Cloud Search (beta)

Integrate fast and highly scalable search functionality into their applications.

Simple to Configure

Automatic Scaling For Data & Traffic

Low Costs

Page 41: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

41

Other Available Services

Automate business processes

Processing steps in an application as “tasks” that drive work in distributed applications

Managing cloud infrastructure services

Coordination hub for all of the different components of your application

Amazon Simple Workflow Service

Page 42: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

42

Questions and Open Discussions

Page 43: Deploying for Success on the Cloud EBS on Amazon VPCncoaug.communities.oaug.org/multisites/ncoaug/media... · Deploying for Success on the Cloud: EBS on ... Elastic Compute Cloud(EC2)

43

Contact Details

Phani KottapalliPavan VallabhaneniAST [email protected]@astcorporation.comwww.astcorporation.com