Complete Guide To Getting Started With MySQL DB in The Oracle Cloud
Complete Guide To Getting Started With MySQL DB in The Oracle Cloud
Developers Blog
Developers Blog
1 of 30 8/13/2022, 11:06 AM
Complete Guide to Getting Started with MySQL DB in the Oracle Cloud https://blogs.oracle.com/developers/post/complete-guide-to-getting-st...
Todd Sharp
Back in September, we �nally announced the long-awaited MySQL Database Service in the Oracle
Cloud. It’s big news for developers who are familiar and comfortable with MySQL and want a
secure, fully managed cloud service to use with their applications. All of the features you’d expect
from a managed cloud service are there - automated backups, monitoring, integration with SDKs,
APIs and the OCI CLI. In this post, we’ll take a look at what it takes to deploy, con�gure, and connect
to a MySQL DB System in the Oracle Cloud. Let’s jump right into it!
Cheat Mode! The blog post below will show you, in detail, how to manually launch your MySQL
DB, a Virtual Cloud Network (VCN), and an optional Compute Instance as a bastion host. If you
prefer to automate your deployment with Terraform you can skip ahead to the section where we
look at how to deploy all of these resources automatically with Oracle Cloud Infrastructure
Resource Manager.
Since this guide is quite long, I've decided to add a Table of Contents here so that you can skip
ahead as necessary.
Create a Compartment
2 of 30 8/13/2022, 11:06 AM
Complete Guide to Getting Started with MySQL DB in the Oracle Cloud https://blogs.oracle.com/developers/post/complete-guide-to-getting-st...
Summary
Create a Compartment
The �rst thing that I recommend you do is to create a new compartment to store your MySQL
resources within. It’s not mandatory, but it helps to keep things, well, compartmentalized in your
cloud tenancy. In the Oracle Cloud console sidebar menu, select ‘Identity’ and then ‘Compartments’
and click on ‘Create Compartment’.
Give it a name - we’ll use mysql-compartment in this post if you’re playing along at home.
3 of 30 8/13/2022, 11:06 AM