You are on page 1of 12

Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

Developer Center / Getting Started / Hands-on / ...

Migrate from Oracle to Amazon RDS


with AWS DMS

Introduction Why to move to a managed database Migrate from SQL Server to Amazon RDS

Migrate from Oracle to Amazon RDS Migrate from MySQL to Amazon RDS

Migrate from MongoDB to Amazon DocumentDB


Migrate from PostgreSQL to Amazon RDS

Migrate from Apache Cassandra to Amazon Keyspaces Migrate from Redis to Amazon ElastiCache

Introduction
In this lesson, you migrate a self-managed Oracle database instance to a fully
managed database on Amazon Relational Database Service (Amazon RDS). First, you
learn why you would want to use Amazon RDS to manage your relational database.
Then, you work through the steps to migrate an existing Oracle database to Amazon
RDS. At the end of this lesson, you should feel confident in your ability to migrate an
existing database to Amazon RDS.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 1 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

Time to complete: 30–45 minutes

Move to Managed Databases - Migrate from Oracle to Amazon RDS (20:26)

Why use Amazon RDS?


Amazon RDS is a fully managed service for running relational databases on Amazon
Web Services (AWS). It has support for six different database engines, including
commercial options such as Microsoft SQL Server and Oracle.

With Amazon RDS, your database operations are managed by AWS, leaving your team
free to focus on innovation. Amazon RDS handles instance failover, data backups, and
software updates, so you can enjoy the efficiencies of the AWS Cloud for a fast and
reliable database option.

Lesson contents
In this lesson, you learn how to migrate an existing Oracle database to a fully
managed database on Amazon RDS. This lesson has five steps.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 2 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

1. Create an Oracle database instance in Amazon RDS !

2. Create a replication instance in AWS Database Migration Service !


(AWS DMS)

In this module, you create a replication instance in AWS DMS.

AWS DMS is a service that copies data from an existing database into a fully managed
database on AWS. A replication instance is an Amazon EC2 instance that can host
replication tasks within AWS DMS. In the next module, you will set up endpoints.

To create a replication instance, go to the Replication Instances section of the AWS DMS console.
Choose Create replication instance to begin the replication instance creation wizard.

(click to zoom)

In the Replication instance configuration section, give your replication instance a name and
description. Then choose your instance class. The instance class you use depends on the size of your
existing database and the amount of data flowing through it.

Then choose an engine version for AWS DMS. Finally, choose the amount of allocated storage for
your replication instance.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 3 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

(click to zoom)

As you continue in the Replication instance configuration section, you need to choose a VPC for
your replication instance. Choose the same VPC in which you provisioned your Amazon RDS
database to ease network access for the replication instance.

You may choose to have a Multi-AZ setup for your replication instance for redundancy. If you will
use AWS DMS to keep two databases in sync over a long period of time, you may want to use a
Multi-AZ setup. If you are performing a one-time migration of your data from an existing database
to a fully managed database in Amazon RDS, you likely don't need a Multi-AZ setup.

Finally, choose whether your replication instance should be publicly accessible. If your existing
database is in the same VPC as your new database and your replication instance, you don't need
your replication instance to be publicly accessible. If not, you need your replication instance to be
publicly accessible.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 4 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

(click to zoom)

Next, open the Advanced security and network configuration section. For the VPC security
group(s) configuration, choose the same security group that you attached to your Amazon RDS
database. This allows your replication instance to access your Amazon RDS database.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 5 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

(click to zoom)

You may also edit the maintenance and tags settings.

When you're ready, choose Create to create your replication instance in AWS DMS.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 6 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

(click to zoom)

After you choose Create, AWS provisions your replication instance. It shows a Status of the
replication instance is Creating while AWS provisions and initializes your instance.

(click to zoom)

When your replication instance is ready to go, its Status is Available.

(click to zoom)

While you are waiting for your replication instance to be available, go to the Security Groups section

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 7 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

in the Amazon EC2 console. You need to add a rule to your security group to allow your replication
instance to access your database.

In the Security Groups section, find the security group you attached to your Oracle database
instance and your replication instance, and choose it.

(click to zoom)

Choose Edit inbound rules for your security group.

(click to zoom)

Your security group has an existing rule that allows for access to your Oracle instance from the IP
address you used to create the database. Remove the existing IP address and enter the name of the
security group used for your Amazon RDS database instance and replication instance.

Your screen should look as follows.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 8 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

Choose Save rules to save the updated rules for your security group.

When your replication instance is available and you have updated the rules for your security group,
you may move on to the next module.

(click to zoom)

In this module, you created a replication instance in AWS DMS. The replication instance
is used to host the replication tasks that migrate data from an existing database to a
fully managed database in Amazon RDS. You also updated a security group to allow
access from your replication instance to your Oracle database instance in Amazon RDS.

In the next module, you create endpoints for your source and target databases in
Amazon RDS.

3. Create endpoints in AWS DMS !

4. Create a replication task in AWS DMS !

5. Complete the migration and clean up resources !

In this lesson, we migrated an existing Oracle database to a fully managed Oracle


database in Amazon RDS by using AWS DMS. Amazon RDS allows you to free your
developers to focus on innovation that's core to your business. By using AWS DMS,

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 9 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

you can automate the delicate task of migrating data to a new database.

START NEXT LESSON: MIGRATE FROM MYSQL TO AMAZON RDS

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 10 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

Sign In to the Console


Resources for AWS Developers on AWS
Getting Started Developer Center
Learn About AWS
Training and Certification SDKs & Tools
What Is AWS? AWS Solutions Portfolio .NET on AWS
What Is Cloud Computing? Architecture Center Python on AWS
AWS Inclusion, Diversity & Equity Product and Technical FAQs Java on AWS
What Is DevOps? Analyst Reports PHP on AWS
What Is a Container? AWS Partners JavaScript on AWS
What Is a Data Lake?
AWS Cloud Security
What's New
Blogs
Press Releases

Help
Contact Us
File a Support Ticket
Knowledge Center
AWS re:Post
AWS Support Overview
Legal
AWS Careers

Create an AWS Account

" # $ %  '

Amazon is an Equal Opportunity Employer: Minority / Women / Disability / Veteran / Gender Identity /
Sexual Orientation / Age.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 11 of 12
Migrate from Oracle to Amazon RDS 23/06/22, 10)38 AM

Language
‫| ﻋرﺑﻲ‬
Bahasa Indonesia |
Deutsch |
English |
Español |
Français |
Italiano |
Português |
Tiếng Việt |
Türkçe |
Ρусский |
ไทย |
|
한국어 |
( ) |
( )

Privacy
|
Site Terms
|
Cookie Preferences
|
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.

https://aws.amazon.com/getting-started/hands-on/move-to-managed/migrate-oracle-to-amazon-rds/ Page 12 of 12

You might also like