Migrating from AWS to OCI Philip Brown Director of Cloud Strategy
Data Intensity
Contact Details and Info pbrown@dataintensity.com @pbedba Oracle Management Cloud https://blogs.oracle.com/managementcloud/discover-oracle-management-cloud OOW18 Automate STIG, CIS, and Custom Oracle DB Security Standards [PRO4283] Migrating from AWS to Oracle Cloud Infrastructure [CAS1525] Oracle Enterprise Manager http://www.redstk.com/saving-you-15-minutes-em13c-blog-links/ Please contact me if you have any questions
Migrating from AWS to OCI Solution Architecture Business Case Building In Oracle Cloud Infrastructure Summary
Overview of Cloud Infrastructure Stage 1 REGION AWS IaaS m2.4.xLarge – RHEL 6.6 – 8 vCPUs 68 GB RAM EBS IO1 (PIOPS), GP2, ST1 Oracle Secure Backup to S3 Oracle RDBMS / GI 12.1 AZ AZ VPC APPS APPS DB1 DB2 Apps Golden Gate Data Feed
Overview of Cloud Infrastructure Stage 2 REGION REGION AZ AZ AD AD VPC APPS APPS VCN DB1 DB2 DB1 DB2 OCI IaaS VM.Standard2.4 – OEL 6.9 - 4 OCPUs (8 vCPUs) 60 GB RAM Block Storage Oracle Database Backup Cloud Service Oracle RDBMS / GI 12.1 Apps Golden Gate Data Feed
Overview of Cloud Infrastructure Stage 3 REGION REGION AZ AZ AD AD VPC APPS APPS VCN DB1 DB2 DB1 DB2 Test Upgrades DB1 DB2 Apps Golden Gate Data Feed
Overview of Cloud Infrastructure Stage 4 REGION REGION AZ AZ AD AD VPC APPS APPS VCN DB1 DB2 OCI IaaS VM.Standard2.4 – OEL 6.9 - 4 OCPUs (8 vCPUs) 60 GB RAM Block Storage Oracle Database Backup Cloud Service Oracle RDBMS / GI 12.2 Apps Golden Gate Data Feed
Business Case Amazon Web Services Infrastructure m2.4xLarge 8 vCPUs 68GB RAM 5TB Storage (io1, gp2) $1569 per month Oracle Cloud Infrastructure VM.Standard 2.4 4 OCPUs (8 vCPUs) 60GB RAM 5TB Storage $418 per month m2.4xLarge 3 Years Up Front $5839 EBS 5TB Storage $712 per month TCO Per Month $874
Business Case Amazon Web Services Infrastructure Purchasing PAYG 1 – 3 Year Reserved 1 – 3 Year Partial Pre-Pay 1 – 3 Year Full Pre-Pay Oracle Cloud Infrastructure 1 – 5 Year Monthly Commit Universal Cloud Credit (with no PAYG rate for overage)
Business Case Amazon Web Services Infrastructure Multi-Region / Multi-AD / VPCs / Subnets / Security Lists Different IaaS VM Shapes High Performance Block Storage High Performance Network Object Storage Backup Key Management Cloud Formation Oracle Cloud Infrastructure Terraform
Business Case Migration Costs Year 1 Cost Neutral Year 2 Saving $$ OCI Design and Build AWS to OCI Connectivity Upgrade Database Components to 12.2 Upgrade Oracle Golden Gate to 12.2 Deploy OEM Agents Switch Over to OCI Year 1 Cost Neutral Year 2 Saving $$ Year 3 Saving $$
Building in Oracle Cloud Infrastructure REGION AVAILABILITY DOMAIN AVAILABILITY DOMAIN AVAILABILITY DOMAIN VCN PUBLIC SUBNET PUBLIC SUBNET PRIVATE SUBNET PRIVATE SUBNET PRIVATE SUBNET PRIVATE SUBNET FD FD FD
Building In Oracle Cloud Infrastructure Ingress and egress points Shared or individual security lists REGION Network team allocated blocks… AVAILABILITY DOMAIN AVAILABILITY DOMAIN AVAILABILITY DOMAIN What else will it be connected to? VCN How many private IPs do you need PUBLIC SUBNET Which block sizes How many subnets? Shared or individual route tables PRIVATE SUBNET What CIDR Block? Which ADs Public or private Future growth Used by OCI services Data regulations Which Region? Disaster recovery
Building In Oracle Cloud Infrastructure VPN Connectivity – AWS to OCI VPNaaS INTERNET INTERNET / WHITELIST Private CIDR Block 192.168.1.0/24 Public IP Public IP Private CIDR Block 10.0.0.0/16 INTERNET / VPN Private CIDR Block 192.168.1.0/24 Private CIDR Block 10.0.0.0/16
Building In Oracle Cloud Infrastructure VPN Connectivity – AWS to OCI https://blogs.oracle.com/cloud-infrastructure/creating-a-secure-connection-between-oracle-cloud-infrastructure-and-other-cloud-providers
Building In Oracle Cloud Infrastructure RDBMS and GI On IaaS yum install oracle-database-server-12cR2-preinstall https://blogs.oracle.com/linux/oracle-database-12c-preinstall-steps-for-oracle-linux-simplified yum install oracle-database-preinstall-18c https://docs.oracle.com/en/database/oracle/oracle-database/18/ladbi/installing-oracle-grid-infrastructure-for-a-standalone-server-with-a-new-database-installation.html#GUID-0B1CEE8C-C893-46AA-8A6A-7B5FAAEC72B3 parted /dev/sdn - Partitions > 2TB can’t fdisk iptables OEL6 - On or Off firewalld OEL7 - On or Off curl/wget - Chrome Extension Software Download fstab - Software Only volumes not ASM
Building In Oracle Cloud Infrastructure RDBMS and GI On IaaS UDEV / ASMLIB / ASM Filter Driver
Building In Oracle Cloud Infrastructure Do it ONCE Terraform / Bootstrap / Custom Image / oci cli ### CREATE CORE-VCN ### resource "oci_core_virtual_network" "CORE-VCN" { cidr_block = "${var.cidr_block}" dns_label = "${var.cust_code}VCN" compartment_id = "${var.compartment_ocid}" display_name = "${var.cust_code}-VCN" } Don’t automate a long process; change the process! PS C:\temp\Terraform> oci compute instance list --compartment-id
Don’t stop at migration… Summary Don’t stop at migration… Business Case Cost Commercial Technical Migration Building Understand the differences Planning; Planning; Planning Diagrams / Design Build with teams; don’t build solo (even though you can) Improve Modernize Enhance