Let's explore how to deploy a node.js app with MySQL backend on
the Oracle Cloud. I want to cover several aspects:
- How to deploy and initialize a MySQL instance
- How to adapt the source code
- How to deploy the application
- How to scale the application
There are different ways to configure this. I tested the easiest
deployment with MySQL Cloud Service and the Application Container
Cloud for the node.js part. All configurations are done via the
cloud web GUI. There is also a REST interface available. But
let's keep that for later.
If you don't have access to the Oracle Cloud you can get a trial access here.
How to deploy a MySQL instanceOnce you logged into the Oracle cloud you can create new instances from the dashboard. The following screenshots describe the process.