hey you, have you moved to the cloud? · hey you, have you moved to the cloud? an introduction to...
TRANSCRIPT
![Page 1: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/1.jpg)
HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how
JARED STILL PRINCIPAL CONSULTANT
![Page 2: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/2.jpg)
About Jared Still Principal Consultant at Pythian Oak Table Member Oracle Ace Perl aficionado Twitter: @PerlDBA [email protected]
![Page 3: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/3.jpg)
WHAT IS AWS?
A Brief Primer
![Page 4: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/4.jpg)
AWS = AMAZON WEB SERVICES
Compute Resources EC2
Storage Resources EBS S3
Network Resources Routing DNS Gateways
© 2014 Pythian Confidential 4
![Page 5: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/5.jpg)
© 2014 Pythian Confidential 5
EC2
Elastic IP
Internet Gateway
Hosted Zone
Route Table
Route 53
AMI
Identity & Access Management
S3
Bucket with Objects
Glacier
Snowball
Amazon Elastic Block Store
AWS Import/Export
RDS
Oracle DB Instance
Snapshot
![Page 6: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/6.jpg)
EC2: ELASTIC COMPUTE CLOUD
Linux Windows
Scalable Scriptable
Instantiate a computer via CLI aws ec2 run-instances --image-id ami-f0091d91 --count 1 --instance-type t2.micro --key-name my-key-pair --security-group-ids sg-945663ae --subnet-id subnet-17e6fb92
© 2014 Pythian Confidential 6
EC2
![Page 7: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/7.jpg)
EC2 INSTANCE TYPES
Hardware Attributes Number of vCPUs Memory
Storage Type Local (ephemeral or non-persistent) EBS (persistent)
Optimizations Compute Network IO
© 2014 Pythian Confidential 7
EC2
![Page 8: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/8.jpg)
AMI: AMAZON MACHINE IMAGE
Images used to launch EC2 Instance Linux
Several Flavors Windows
© 2014 Pythian Confidential 8
AMI
![Page 9: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/9.jpg)
EBS: ELASTIC BLOCK STORE
SSD backed storage Persistent Snapshots
© 2014 Pythian Confidential 9
Amazon Elastic Block Store
![Page 10: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/10.jpg)
S3: SIMPLE STORAGE SERVICE
Organized in Buckets Highly Available
99.999999999% Durable Lose one object every 10*10E6 years.
100 bucket limit Unlimited objects per bucket
Use for: Backups Static Web pages Personal file backups
© 2014 Pythian Confidential 10
S3
Bucket
![Page 11: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/11.jpg)
VPC: VIRTUAL PRIVATE CLOUD Network Infrastructure
© 2014 Pythian Confidential 11
VPC
![Page 12: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/12.jpg)
VPC: VIRTUAL PRIVATE CLOUD Network Infrastructure
© 2014 Pythian Confidential 12
VPC
Auto Scaling group
Availability Zone #1
www.example.com
security group
security group
root volume
data volume
media.example.com
Elastic Load Balancing
Amazon S3 bucket
logs
Amazon EBS snapshot
CloudFront distribution
EC2 instance
web app server
![Page 13: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/13.jpg)
RDS: RELATIONAL DB SERVICE Amazon Controlled RDBMS
Oracle SQL Server MySQL MariaDB
PostgreSQL
Many DBA Tasks Automated Backups Patching
© 2014 Pythian Confidential 13
RDS
![Page 14: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/14.jpg)
COMMON TRAITS
Scalable Scriptable
Chef, Puppet, Vagrant, OpsWorks, Cloud Formation
Highly Available HA does require some design work
© 2014 Pythian Confidential 14
![Page 15: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/15.jpg)
WHY MOVE TO THE CLOUD?
![Page 16: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/16.jpg)
FOLLOW THE MONEY
CAPEX vs OPEX Warning!
I am not an accountant Nor do I play one on TV
This presentation will contain only some simple comparisons.
© 2014 Pythian Confidential 16
![Page 17: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/17.jpg)
REDUCE CAPEX AND OPEX CAPEX Capital Expenditure
ie. Hardware in this case Overprovisioning for seasonal business
40 cores 1T RAM Nearly idle at 10% load 10.5 months/year
Dell R930 4 x Xeon® E7-4830 (10 core each) 1T ECC RAM $32,397.22 ~ $39k with support
© 2014 Pythian Confidential 17
![Page 18: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/18.jpg)
AWS = EXPENSIVE?
AWS Equivalent (approximate) 2 x m4.10xlarge (40 vCPU each) Pay 3 yrs up front (includes support) Total RAM 320G 32% of dedicated server $64,000 $46,936.00 total
Not much savings there!
Paying for more than server Infrastructure
© 2014 Pythian Confidential 18
![Page 19: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/19.jpg)
SCALABLE SAVINGS Think about scaling
80 * 10% load = 8 threads required 87.5% of the year Single m4.2xlarge (32G RAM)
$4694.00 3 yrs Scale out 2 months per year
2 x m4.10xlarge $3456.00 monthly Over 3 years $20,736.00
Total Server cost $26k
© 2014 Pythian Confidential 19
![Page 20: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/20.jpg)
HAVING A GOOD YEAR?
Sales exceeding all expectations Legacy method
Try to keep things working
Plan for next year too late for this year. Scalable method
Add more servers. Point, click, done.
© 2014 Pythian Confidential 20
![Page 21: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/21.jpg)
AUTOSCALING Architect for auto-scaling
Monitor load Add EC2 instances at 70% load Remove instance when not needed
Use for Application servers Report servers Other?
RAC? Sadly, no. It can be done, but quite complicated.
Ephemeral (non-persistent) storage ASM mirroring for data integrity
© 2014 Pythian Confidential 21
![Page 22: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/22.jpg)
OUT OF SPACE? LEGACY METHOD
Buy new drives Possibly new SAN disk drawer Additional SAN licensing
Install the Hardware How much time required?
© 2014 Pythian Confidential 22
![Page 23: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/23.jpg)
OUT OF SPACE? CLOUD METHOD
Provision new drives Add to EC2 Add disks to ASM
How much time required?
Create volume Select the EC2 instance Add volume
© 2014 Pythian Confidential 23
![Page 24: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/24.jpg)
CAPACITY PLANNING
Seasonal capacity requirements? Add/Remove as needed
Space CPU
Need extra space required for data load? Spin up volumes Remove when no longer needed.
© 2014 Pythian Confidential 24
![Page 25: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/25.jpg)
SERVERS ON DEMAND:
Have you ever? Asked all IT buddies for a server to test restore? Begged for server to do POC?
With AWS (or cloud of choice)
Test backup, restore, proof of concepts All without begging, borrowing or purchasing hardware
© 2014 Pythian Confidential 25
![Page 26: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/26.jpg)
AUTOMATION (OPEX)
automation allows DBA's to do more with less Yes, that is a trite cliché
Scripting tasks that were previously un-scriptable reduces the time needed for routine tasks.
© 2014 Pythian Confidential 26
![Page 27: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/27.jpg)
How to Deploy Oracle
![Page 28: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/28.jpg)
EC2 OR RDS?
EC2 Traditional Oracle install on dedicated server
RDS Relational Database Service Amazon controlled instance running DB
Oracle SQL Server MySQL MariaDB
PostgreSQL
© 2014 Pythian Confidential 28
![Page 29: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/29.jpg)
RDS
No root access No ssh access at all
Automated by Amazon Backups Patching Monitoring Scaling
Not for all DBs But, pretty cool for those that fit the model.
© 2014 Pythian Confidential 29
![Page 30: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/30.jpg)
Moving Data to the Cloud
![Page 31: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/31.jpg)
DIY
SSH for small stuff VPN
Bond VPN channels (Ask Network Engineer about this for some detail)
© 2014 Pythian Confidential 31
![Page 32: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/32.jpg)
AMAZON IMPORT/EXPORT
provided by Amazon Import/Export Disk Import/Export Snowball Direct Connect
© 2014 Pythian Confidential 32
Direct Connect
Snowball
AWS Import/Export
![Page 33: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/33.jpg)
IMPORT/EXPORT DISK
Purchase Compatible NAS Device eSATA Compatible with Red Hat Linux
(not all commodity NAS devices are compatible) <= 16TB
© 2014 Pythian Confidential 33
AWS Import/Export
![Page 34: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/34.jpg)
IMPORT/EXPORT SNOWBALL
Petabyte Scale Device 50TB per device
Supplied by Amazon Order from your AWS account $200.00 US for 10 days
Secure Encrypted Keys are NOT stored on device
© 2014 Pythian Confidential 34
Snowball
![Page 35: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/35.jpg)
© 2014 Pythian Confidential 35
![Page 36: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/36.jpg)
DIRECT CONNECT
Dedicated Network
Your data center AWS 1G or 10G speed
Hybrid Data Center Uses
Backups offsite to S3/Glacier Data Transfer to AWS Analytics POC
© 2014 Pythian Confidential 36
Direct Connect
![Page 37: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/37.jpg)
AWS LIMITATIONS Limits per service
Can request increase Hard Limits
vCPU per instance Memory per instance Network IO
Largest 36 vCPU 244G RAM
![Page 38: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/38.jpg)
APP PARTITIONING / DATA SHARDING
Multiple instances Multiple databases App server directs connections
Server 1: Clients A-D Server 2: Clients E-H
![Page 39: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/39.jpg)
Operating in the Cloud
![Page 40: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/40.jpg)
DAY TO DAY
Not That Much Different
© 2014 Pythian Confidential 40
![Page 41: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/41.jpg)
BACKUPS Common Method - EBS Snapshots
Database in backup mode Snapshot volumes Archive all current redo Save all to S3
Kind of like old hot backups Seems like a step backwards
Use RMAN Backup to F/S Move to S3 Then archive to Glacier
License OSB Cloud Module Backup directly to S3 Archive to Glacier
© 2014 Pythian Confidential 41
![Page 42: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/42.jpg)
POC, NEW FEATURES, RESTORE TESTS
How often have you
A server so you can Explore new features Run a restore test Perform a POC
© 2014 Pythian Confidential 42
![Page 43: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/43.jpg)
DEMO'S AND TESTING 20 minutes
Launch Instance from Oracle AMI c4.large (2 vCPU) Create 11.2 db from Oracle AMI
Needs more CPU! Traditional
New server ($$$) Restore and Recover new server
AWS Stop db and EC2 instance Change instance type to c4.xlarge (4 vCPU)
Total Cost of test: $0.48 US
© 2014 Pythian Confidential 43
![Page 44: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/44.jpg)
DEMO'S AND TESTING CONT. Billing for increase capacity test EC2 Instance running Red Hat Enterprise Linux $0.17 per On Demand RHEL c4.large Instance Hour 1 Hrs $0.17 $0.28 per On Demand RHEL c4.xlarge Instance Hour 1 Hrs $0.28 Total: $0.45 EBS $0.065 per IOPS-‐month provisioned -‐ US West (Oregon) 200G provisioned IOP at $0.065 per month for 2 hrs .065 * 200 * (2/24/31) = $0.03 Total cost of test: $0.48
© 2014 Pythian Confidential 44
![Page 45: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/45.jpg)
Licensing
![Page 46: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/46.jpg)
AWS CPU
vCPU != Core AWS Core = 2 vCPU
Talk to your Oracle Sales Rep
© 2014 Pythian Confidential 46
![Page 47: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/47.jpg)
ORACLE ON AWS
Simple
Example instance type: c4.8xlarge vCPU: 36 Virtual Cores: 18 Intel x86
Oracle Core Count
18 x .5 = 9 cores 9 Cores must be licensed on AWS
© 2014 Pythian Confidential 47
![Page 48: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/48.jpg)
THANK YOU! Download
http://tinyurl.com/have-you-moved-to-the-cloud
![Page 49: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/49.jpg)
RESOURCES AWS Import/Export Disk
https://aws.amazon.com/importexport/disk/ AWS Import/Export Snowball
https://aws.amazon.com/importexport/ AWS Direct Connect
https://aws.amazon.com/directconnect/ Virtual Cores chart
http://aws.amazon.com/ec2/virtualcores/ AWS Instance Types
https://aws.amazon.com/ec2/instance-types/
© 2014 Pythian Confidential 49
![Page 50: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/50.jpg)
RESOURCES AWS Icons
https://aws.amazon.com/architecture/icons/ AWS Limitations
http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
AWS Total Cost of Ownership Calculator https://aws.amazon.com/tco-calculator/
Optimizing AWS Costs http://www.slideshare.net/AmazonWebServices/optimizing-total-cost-of-ownership-for-the-aws-cloud-36852296
© 2014 Pythian Confidential 50
![Page 51: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/51.jpg)
RESOURCES Dell R930 Pricing
http://tinyurl.com/dell-r930 Deploying Scalable Oracle RAC on Amazon EC2
https://aws.amazon.com/articles/7455908317389540 Linux Academy AWS Training
https://linuxacademy.com/
© 2014 Pythian Confidential 51
![Page 52: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/52.jpg)
RESOURCES ORACLE LICENSING Pythian Blog on Licensing on AWS
http://www.pythian.com/blog/licensing-oracle-in-a-public-cloud-the-cpu-calculation-impact/
Licensing Oracle Software in the Cloud http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf
Oracle Processor Core Factor Table http://www.oracle.com/us/corporate/contracts/processor-core-factor-table-070634.pdf
Oracle Software Investment Guide http://www.oracle.com/us/corporate/pricing/sig-070616.pdf
© 2014 Pythian Confidential 52
![Page 53: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/53.jpg)
RESOURCES AWS CORES/VCPU
Virtual Cores http://aws.amazon.com/ec2/virtualcores/
Virtual CPUs http://aws.amazon.com/ec2/instance-types/
1 Core = 2 vCPU
© 2014 Pythian Confidential 53
![Page 54: HEY YOU, HAVE YOU MOVED TO THE CLOUD? · HEY YOU, HAVE YOU MOVED TO THE CLOUD? An introduction to the Cloud: why and how JARED STILL ± PRINCIPAL CONSULTANT . About Jared Still Principal](https://reader035.vdocuments.net/reader035/viewer/2022081522/5f01fa8c7e708231d401f9a0/html5/thumbnails/54.jpg)
© 2014 Pythian Confidential 54