Plan Your Deployment Strategy
Determine how you want to define and deploy your workload. Oracle Cloud Infrastructure provides capabilities where you can define your workload infrastructure in code. Various tools are available to help you to configure your workloads and maintain deployment efficiency.
Choose a Region Based on Your Customers and Data
Cloud Architect, Network Architect
Adopt an Infrastructure as Code Methodology
Cloud Architect, Infrastructure Architect, DevOps Architect
The following services enable you to define and manage your infrastructure using code:
- Oracle Cloud Infrastructure Resource
Manager
Resource Manager automates the process of provisioning your OCI resources by using Terraform to help you install, configure, and manage resources through the infrastructure-as-code model.
- Oracle Cloud Infrastructure Events
Events automate the response to resource changes in your tenancy. OCI services emit event messages, which are structured messages that indicate changes in resources. You can create automation based on the state changes of resources throughout your tenancy and allow your development teams to automatically respond when a resource changes its state.
- Oracle Cloud Infrastructure
Functions
Functions provide a highly scalable and fully managed serverless platform. After you deploy your code, you can use events to trigger operational procedures that are coded as functions.
Adopt Terraform to Implement Repeatable Workflows
DevOps Architect, Application Architect
You can use the Oracle Cloud Infrastructure (OCI) Terraform provider to manage OCI resources wherever you use a Terraform distribution, including Terraform Cloud and Oracle Cloud Infrastructure Resource Manager. Oracle Cloud has its own Terraform provider.
When using Terraform with OCI, consider the following:
- Treat Terraform like source code by deploying files in Oracle Cloud Infrastructure Resource Manager. You can store files in a secure location, limit access based on requirements, and audit changes regularly.
- Consider using Instance Principal as authentication for the OCI Provider if you're running on a VM Compute Instance in OCI.
- Maintain Terraform state files in a shared, centralized location using either Oracle Cloud Infrastructure Object Storage or Oracle Cloud Infrastructure Resource Manager.
Adopt the OCI Designer Toolkit (OKIT)
DevOps Architect, Infrastructure Architect
The web-based interface enables architects and designers to build a visual representation of their infrastructure and then export this in a number of formats. Once completed, you can enhance the design to add key property information allowing you to export the designed infrastructure to a number of DevOps frameworks.
You can use OKIT to introspect existing OCI environments, through simple query functionality embedded within the web interface, to provide a portable generic JSON file. You can use the JSON file to visualize existing systems or generate a set of Terraform or Ansible scripts that you can use to build the designed OCI infrastructure as a zip file.
OKIT models supports the use of Cloud Init
scripts to
further automate compute resource deployments. OKIT is essentially a single user tool
best suited to run locally, as it's using a user's personal keys to authenticate to a
tenancy. Using Oracle Cloud Infrastructure Resource
Manager allows you to share designs. You can export OKIT designs in JSON format, which you
can version control.
Automate Simple and Repeatable Actions
DevOps Architect
Adopt Configuration Management Tools
DevOps Architect, Infrastructure Architect
Oracle Cloud Infrastructure (OCI) supports the use of Ansible modules to automate cloud infrastructure provisioning and configuration, orchestration of complex operational processes, and deployment and update of your software assets. The OCI Ansible collection supports Ansible Tower and AWX.
Adopt Build and Deployment Management Systems
DevOps Architect