The most comprehensive Oracle applications & technology content under one roof
Public Clouds Hands-On
Oracle vs. Amazon
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Introduction
The most comprehensive Oracle applications & technology content under one roof
Who is this guy?
• Frank Munz
• Founded in 2007
• 12+ years WebLogic Server and Oracle Fusion Middleware
• Consulting and High-End Training
• NEW book: “WebLogic 12c: Advanced Recipes”
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Cloud Computing
The most comprehensive Oracle applications & technology content under one roof
“Today’s tech entrepreneurs would be out of their minds to build out their own data centers rather than
renting capacity from Amazon or another low-cost provider.”
Quote from Andy Bechtolsheim
The most comprehensive Oracle applications & technology content under one roof Credit for this slide: http://stage.vambenepe.com/archives/1355
The most comprehensive Oracle applications & technology content under one roof
Definition of Cloud Computing
4 Criteria 1. You consume resources as services
2. Pay per use / charge back / (free)
3. Rapid elasticity
4. Self service
The most comprehensive Oracle applications & technology content under one roof
“A private cloud is like having your own restaurant”
The most comprehensive Oracle applications & technology content under one roof
New Business Models
Are there real companies and are they making profit
in the cloud?
Are they really 100% cloud?
The most comprehensive Oracle applications & technology content under one roof
Netflix
• >20 Mio subscribers / 100% AWS cloud
• $2 billion in sales last year
• 37x req/s from Jan 2010 to Jan 2011 “ …could not build new data centers fast enough… We want to use clouds – not build them.”
• SW: Tomcat, Cassandra, Hadoop, AWS Services
• HW: 1000s of AWS instances
The most comprehensive Oracle applications & technology content under one roof
Netflix: Chaos Monkey on AWS
Tool randomly kills production instances during business hours (!)
Will be open sourced
Credits: http://www.slideshare.net/adrianco/netflix-on-cloud-combined-slides-for-dev-and-ops
The most comprehensive Oracle applications & technology content under one roof
US Government
• Special region in Amazon Cloud
• Cloud First Policy (everything else is exception!)
• Same security as other AWS regions
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Oracle Public Cloud (Intro)
The most comprehensive Oracle applications & technology content under one roof
State of Oracle Public Cloud
I signed up 4 times since 1y. It’s not there yet…
The most comprehensive Oracle applications & technology content under one roof
AWS: Sydney Region
2 Data
Centers
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Amazon Web Services (Intro)
The most comprehensive Oracle applications & technology content under one roof
Amazon Web Services (AWS)
Infrastructure as a Service (IaaS) + Platform as a Service(PaaS)
= fully programmable
data center
-> you can automate everything…
The most comprehensive Oracle applications & technology content under one roof
Startup Example: Cloud Transformation for Classical Java EE Application
Static Content Dynamic Content
The most comprehensive Oracle applications & technology content under one roof
Amazon Web Services (AWS) Instances
The most comprehensive Oracle applications & technology content under one roof
Pricing Options
• Spot instances with API to retrieve current/historic spot price
if bid price > spot price : it’s your instance typically 50-60% discount
what’s a good strategy for bidding?
• Reserved Instances: upfront payment (<-> cloud definition?) -> cheaper when used more than 50% of time
The most comprehensive Oracle applications & technology content under one roof
Pricing
• 19 Price cuts since start of AWS
• Your brain is not good with small numbers!
• Double check everything is turned off at the end
The most comprehensive Oracle applications & technology content under one roof
AWS: Free Micro Instance for 1 Year!
For every new customer free resources / month:
• 750 hours of Amazon EC2 Linux Micro Instance
• 10 GB of Amazon Elastic Block Storage (EBS)
• 5 GB of Amazon S3 storage
• 30 GB per of internet data transfer
• 60 days of Oracle DB instance (BYOL)
-> use it for anything you like
The most comprehensive Oracle applications & technology content under one roof Credit for the following 3 slides: http://www.slideshare.net/AmazonWebServices/2011-aws-tour-australia-architecting-for-the-cloud-demo-and-best-practices-by-simone-brunozzi
The most comprehensive Oracle applications & technology content under one roof
Amazon Machine Images (AMIs)
• Bootable OS image • Unix / Linux / Windows • 32-bit or 64-bit • Offered by Amazon, Ubuntu, Oracle, etc. • Public / private images • AMIs are per region • S3 or EBS based
The most comprehensive Oracle applications & technology content under one roof
Simple Storage Service
• Simple Storage Service = S3 • Cloud storage, like hashtable (name,object) • 1 byte to 5 Terabytes per object • Objects are put into “buckets” • S3 object never leaves its region -> laws, latency • SOAP / REST / BitTorrent • Not a mountable file system
The most comprehensive Oracle applications & technology content under one roof
Service Level Agreement for S3 Regular S3 storage
• Availability 99.99%
• Durability 99.999999999%
(Survives outage of 2 availability zones!) “of 10,000 objects stored, on average one of every 10 million years could be lost”
The most comprehensive Oracle applications & technology content under one roof
Reduced Redundancy S3 storage
New, cheaper option for S3 objects
• Survives outage of 1 availability zone • Durability 99.99% = 400 times of normal HD • Availability 99.99% About 2/3 the cost of regular S3 storage
The most comprehensive Oracle applications & technology content under one roof >30 edge locations world-
wide
The most comprehensive Oracle applications & technology content under one roof
CDN Routing: Muc-Ffm S3 Routing: Muc-Dublin
The most comprehensive Oracle applications & technology content under one roof
EC2 Showstoppers
• Amazon crashed my SOA Suite AMI
-> they sent a sorry email… thanks anyway!
• No easy way for local EBS based AMI backup
• No easy way to copy over AMIs to other regions
• EBS volumes attachable to 1 instance only
The most comprehensive Oracle applications & technology content under one roof
EC2 Showstoppers
• It’s complicated to create your own AMI starting with OS ISO image.
• You can only resize stopped instances
• Dashboard is per region only
-> You can easily miss to stop resources
The most comprehensive Oracle applications & technology content under one roof
Oracle AMIs Limitations
• Newest Oracle SW versions only (but not WLS12c)
• WebLogic / SOA Suite images US region only
• Very few images in SE-Asia region • Some images only 32-bit • Most images still S3 based -> not
persistent
The most comprehensive Oracle applications & technology content under one roof
Amazon Linux Images
The most comprehensive Oracle applications & technology content under one roof
Oracle VM Templates on EC2 • Must use AWS console -> no Oracle VM Tooling -> No live migration etc • Only High-Memory EC2 instances • Oracle RAC not supported • US-East region only • You cannot import your own templates to AWS
-> “tech preview”, not for wide usage
The most comprehensive Oracle applications & technology content under one roof
Create your own AMI • You can bring you license / buy new license
http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf
• Start with current OEL / RedHat / CentOS Linux version
• Start with EBS-based AMI • Select if 64-bit Linux (if appropriate) • Install the SW you need • After configuration -> Create a new AMI …
The most comprehensive Oracle applications & technology content under one roof
AWS Relational Database Service
• Oracle DB 11.2.0.2 Service: Off-Instance, no EC2 required, Zero installation
• Oracle: Standard Edition (One) / Enterprise
• CloudWatch (11 metrics: write latency, …)
• Small 1,7GB RAM, 1 ECU to 4XL 68 GB 26 ECU
• 10 GB to 1 TB data
• Resizable instances
The most comprehensive Oracle applications & technology content under one roof
AWS Relational Database Service
• Read replicas (not for Oracle DB)
• Backup window and automated backups
• Minor patches and version upgrade
• No support for RAC
• OEM available as of June 2012
The most comprehensive Oracle applications & technology content under one roof
AWS Relational Database Service
• Multi-Availability Zone instances
• Data Guard is not used for Multi AZ
• No SYSTEM or SYS login, restricted DBA role without ALTER SYSTEM etc.
• BYO License or License Included (from $0,11 /h)
The most comprehensive Oracle applications & technology content under one roof
RDS or Custom AMI? RDS is the better solution if • You need a DB quickly • You don’t have much DB or cloud knowledge • You don’t want to hire an DBA • What you care is the JDBC-URL to connect
Always calculate the monthly/yearly costs!
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Oracle Clouds
The most comprehensive Oracle applications & technology content under one roof
The Difference (for WLS)
Do you want to install your WebLogic? (AWS=Iaas)
OR do you want to run something on WebLogic? (Oracle Java Cloud=PaaS)
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Service • ExaLogic + JRockit Virtual Edition • EM 12c based console, CLI and REST • Extends Oracle DB Cloud Service • Get cloud credential and
deploy from IDE to “WebLogic as a Service” • Support for Oracle Virtual Assembly Builder • “Virus Scanner”: Whitelist
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Options
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Benefits
• OS & WLS Patching is done by Oracle
• Security and DB integration
• Zero Installation,
• No need to design for cloud
• You manage WLS instances, not servers
• Similar to RDS from Amazon
• Easy to calculate costs
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Question to Ask I
• How many locations?
• Can you choose which location? API?
• Transfer data between locations?
• Control over WLS startup parameters?
• WebLogic Admin Console available?
• WebLogic Scripting Tool?
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Question to Ask II
• Non-HTTP access?
• JMS supported?
• Heap > 1,5 GB?
• EJB remoting?
• For non-supported technology: is it planned?
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Question to Ask III
• What if 3rd a party lib breaks white list?
• Can it autoscale? Based on which metrics?
• Do customers use it for 100% of their business?
• Does Oracle use it for its business?
• Why is there no hourly pricing?
The most comprehensive Oracle applications & technology content under one roof
Oracle Java Cloud Question to Ask IV
• When will WLS12c be supported?
• Version upgrades? Will Oracle tell you? Ask you?
• How is patching done?
The most comprehensive Oracle applications & technology content under one roof The most comprehensive Oracle applications & technology content under one roof
Conclusion
The most comprehensive Oracle applications & technology content under one roof
Conclusion • AWS and Oracle Clouds complement each other • There is a learning curve! • Make sure you understand alternatives • Cloud services will make the difference • Oracle Public Cloud will be a easy and convenient starting
point Give AWS a try. You can start today!
The most comprehensive Oracle applications & technology content under one roof
facebook.com/cloudcomputingbook
facebook.com/weblogicbook
@frankmunz
youtube.com/weblogicbook
half a dozen of Cloud and WebLogic
videos for free - Subscribe now!