Professional Documents
Culture Documents
01 Day-01-Cloud_Native_Fundamentals on OCI
01 Day-01-Cloud_Native_Fundamentals on OCI
01 Day-01-Cloud_Native_Fundamentals on OCI
August 2021
The following is intended to outline our general product direction. It is intended for information purposes
only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code,
or functionality, and should not be relied upon in making purchasing decisions.
The development, release, timing, and pricing of any features or functionality described for Oracle’s
products may change and remains at the sole discretion of Oracle Corporation.
"... approach to build & run apps that exploit the advantages of the cloud computing model"
"... describes container-based environments, deployed as microservices and managed on elastic infrastructure
through agile DevOps, continuous delivery workflows"
"... build, run, and improve apps based on well-known techniques and technologies for cloud computing"
Cattle 🐮
• No attachment
Apart from focusing on business logic, you will realize the following when building cloud- native applications
for the first time:
• https://
en.wikipedia.org/wiki/CAP_theo
rem
Understand how to best use functions & containers, together with eventing/messaging technologies to design,
develop and operate cloud-native microservices-based applications
• Service-oriented architecture
• Loosely coupled services
• Organized around business
capability
communication (East-West)
and
https://learning.oreilly.com/library/view/architectural-patterns/9781787287495/4de04c75-e719-4799-a6a7-aaacb58ed11e.xhtml
• Throttling pattern
Control the consumption of resources used by an instance of an application, an individual tenant, or an entire service. This can allow the system to continue to
function and meet service level agreements, even when an increase in demand places an extreme load on resources.
https://docs.microsoft.com/en-us/azure/architecture/patterns/throttling
• Rate Limiting pattern
Many services use a throttling pattern to control the resources they consume, imposing limits on the rate at which other applications or services can access
them. You can use a rate limiting pattern to help you avoid or minimize throttling errors related to these throttling limits and to help you more accurately
predict throughput.
A rate limiting pattern is appropriate in many scenarios, but it is particularly helpful for large-scale repetitive automated tasks such as batch processing.
https://docs.microsoft.com/en-us/azure/architecture/patterns/health-endpoint-monitoring
Design patterns
Design patterns
Test and Deploy Cloud Native
Applications
MOCK
Object use to test the calls it receives
FAKE
Object with working implementation (di"erent from a real
implementation)
STUB
Object that returns prepopulated data
Prasenjit Sarkar
Oracle Cloud Infrastructure
February 2020
Resource
Manager
Oracle Cloud
Infrastructure Ansible
Console
Oracle Cloud
Command Line
Infrastructure
Interface (CLI)
APIs
Terraform SDKs
Copyright © 2019 Oracle and/or its affiliates.
REST APIs
The OCI APIs are typical REST APIs that use HTTPS requests and
responses. It describes basic information about using APIs.
• API Errors
• Request Signatures
• The CLI is a small footprint tool that can be used on its own or
with the Console to complete Oracle Cloud Infrastructure
tasks.
• SDK and CLI Configuration File: Methods for providing configuration information when using the
SDKs or CLI
The command is to run the Installer Script of OCI CLI along with the required
packages.
bash -c "$(curl -L
https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/insta
ll/install.sh
)”
If you want to accept all the default configuration then run this command
curl -L -O https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh
chmod +x install.sh
./install.sh --accept-all-defaults
Syntax
oci <service> <type> <action> <options>
The default configuration file name and location for OCI config file is in the .oci/config
directory as shown below:
~/.oci/config
OCI provides:
Terraform advanced
https://
learn.oracle.com/ols/course/developing-cloud-native-applications-on-oci/35644/75242/1020
30
OCI SDKs
OCI SDKs
OCI SDKs
OCI SDKs
Oracle Cloud always free tier:
oracle.com/cloud/free/
OCI training and certification:
cloud.oracle.com/en_US/iaas/training
cloud.oracle.com/en_US/iaas/training/certification
education.oracle.com/oracle-certification-path/pFamily_647
Thank you