0% found this document useful (0 votes)
98 views15 pages

Oracle in The Cloud: AWS and Azure: Paul Marcelin

The document discusses options for deploying Oracle databases in AWS and Azure cloud platforms. It compares unmanaged deployment using virtual machines to managed database services. It also compares manual deployment through the cloud provider consoles versus infrastructure as code approaches. Examples are provided of creating Oracle databases on Azure VMs and AWS RDS and EC2 instances using the portal interfaces and CloudFormation templates.

Uploaded by

prabhu777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views15 pages

Oracle in The Cloud: AWS and Azure: Paul Marcelin

The document discusses options for deploying Oracle databases in AWS and Azure cloud platforms. It compares unmanaged deployment using virtual machines to managed database services. It also compares manual deployment through the cloud provider consoles versus infrastructure as code approaches. Examples are provided of creating Oracle databases on Azure VMs and AWS RDS and EC2 instances using the portal interfaces and CloudFormation templates.

Uploaded by

prabhu777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Oracle in the Cloud: AWS and Azure

Paul Marcelin

Northern California Oracle User Group

November 15, 2018

1
Goal: Create Oracle Databases Using…
• Azure Virtual Machine (unmanaged)
• Infrastructure as code: Resource Manager Templates
• Manual: Azure Portal
• Amazon Relational Database Service (managed)
• Infrastructure as code: CloudFormation
• Manual: AWS Console
• Amazon Elastic Compute Cloud (unmanaged)
• Infrastructure as code: CloudFormation
• Manual: AWS Console

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 2
Compare Configuration Approaches
• Brainstorm advantages and disadvantages of:
1. Manual approach
2. Cloud vendor’s proprietary infrastructure-as-code system
3. Generic infrastructure-as-code system
(Chef, Puppet, Ansible, SaltCloud, Terraform, etc.)

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 3
Azure Portal: Create VM from Image

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 4
Azure Portal: Review VM Details

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 5
Not Shown: Creating the Image
• Azure does not offer a managed Oracle service
• You must first:
1. Create a virtual machine from a stock Linux image
2. Download, install and configure Oracle
3. Capture an image of the virtual machine
• Oracle supplies commercial images in the Azure Marketplace;
you must bring your own license.
• Oracle does not supply a free image (Express Edition)
in the Marketplace.

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 6
Amazon RDS CloudFormation Template Excerpt
[...]
DbInst:
Type: "AWS::RDS::DBInstance"
Properties:
DBInstanceClass: "db.t2.medium"
AllocatedStorage: 20 # GiB
StorageType: "gp2" # General-purpose SSD
StorageEncrypted: true
LicenseModel: "license-included"
VPCSecurityGroups:
- !Ref DbServerGenExVpcSecGrp
MasterUserPassword: !Ref DbPassword
BackupRetentionPeriod: 1 # days
[...]

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 7
Amazon Console: Create Database

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 8
Amazon Console: Launch EC2 Instance

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 9
Amazon Console: Review Details

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 10
Not Shown: Creating the Image
• Amazon offers managed Oracle as a service,
but you can also choose an unmanaged installation.
• You must first:
1. Create an EC2 instance from a stock Linux image
2. Download, install and configure Oracle
3. Create an Amazon Machine Image (AMI) of the instance
• Oracle image coverage in the Amazon Marketplace is spotty,
with many unofficial or third-party images.

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 11
Amazon EC2 CloudFormation Template Excerpt
[...]
DbInst:
Type: "AWS::EC2::Instance"
Properties:
InstanceType: "t2.small"
ImageId: "ami-0cd9e1310775f5ff8"
BlockDeviceMappings:
- DeviceName: "/dev/sda1"
Ebs:
VolumeSize: 50 # GiB
SecurityGroupIds:
- !Ref DbServerGenExVpcSecGrp
KeyName: "lenovo-201807"
Tags:
- { Key: "Name" , Value: "oracle-cfn" }
[...]
Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 12
Compare Unmanaged and Managed Cloud
• Brainstorm advantages and disadvantages of:
1. Oracle on a cloud-based virtual machine
2. Oracle as a cloud-based service

Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 13
Learning Resources
• Azure
• Azure Linux Virtual Machines
docs.microsoft.com/en-us/azure/virtual-machines/#5-minute-linux-quickstarts

• Azure Resource Manager Templates


docs.microsoft.com/en-us/azure/azure-resource-manager/
resource-group-authoring-templates

• Amazon
• Relational Database Service (RDS) Oracle
docs.aws.amazon.com/AmazonRDS/latest/UserGuide/
CHAP_GettingStarted.CreatingConnecting.Oracle.html

• CloudFormation
docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/GettingStarted.html

• AWS Loft (free training and advice)


aws.amazon.com/start-ups/loft/sf-loft/
Oracle in the Cloud: Azure and AWS | Paul Marcelin | November, 2018 14
Oracle in the Cloud: AWS and Azure
Paul Marcelin

Thank you for attending.


Questions and comments are appreciated.
The AWS RDS CloudFormation template
was previously published, at:
https://github.com/sqlxpert/infra-as-code-aws-nocoug-journal/
Please e-mail me if you wish a copy of the
AWS EC2 template (not Oracle-specific).

15

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy