Oracle Cloud Infrastructure (OCI)
Oracle Cloud Infrastructure (OCI)
Oracle Cloud Infrastructure (OCI) is a scalable, highly available, and cost-effective cloud platform designed to meet the demands of today's businesses. It provides developers and IT with a wide range of options for running existing workloads and developing cloud-native apps. Oracle Cloud is the first public cloud that has been designed from the ground up to be a superior cloud for every application. This tutorial demonstrates some fundamental concepts of Oracle Cloud Infrastructure.
What is Oracle Cloud Infrastructure (OCI)?
The use of computer resources such as servers, data storage, and processing power through the internet is known as cloud computing. Computing resources are made available on-demand and without the need for human contact.
A multi-tenant model is one in which resources are pooled to serve several users across an extensive network. Users only pay for the resources, and resources may be accessible dynamically based on demand. These are the key features of cloud computing that have helped it become so successful and appealing to consumers.
Infrastructure as a Service (IAAS), Platform as a Service (PAAS), and Software as a Service (SaaS) are the three cloud service paradigms.
OCI supports the following:
- High availability: Cloud resources are available at all times and have no single point of failure.
- Disaster Recovery: Allow for a speedy recovery or service continuance in any type of outage.
- Fault Tolerance: Keep downtime to a minimum.
- Scalability: Allow resources to be scaled up or down (vertical scaling), in and out (horizontal scaling).
- Elasticity: The ability to rapidly scale resources such as virtual machines and storage.
The OCI architecture comprises four major components:
Region - These are the geographical places where cloud services are offered worldwide.
Availability Domain - Isolated data centers within a region make up an availability domain.
Fault Domain - Within an availability domain, fault domains are logical data centers.
Compartment – The term "compartment" refers to a logical grouping of linked resources. Compartments may be layered up to six layers:
- A resource can only be assigned to one compartment.
- Resources can be added or removed from a compartment.
- Resources in various compartments can interact with each other.
- Transferring resources from one compartment to another is feasible.
- Multiple regions' resources can be stored in the same compartment.
- A budget is set aside for the compartment's resources.
Even though availability domains are segregated, they are linked via a low-latency, high-bandwidth network. For high resource availability, each AD has three fault domains. Resources in distinct fault domains don't have a single point of failure in common. Compartments assist in isolating and controlling access to cloud resources.
Key Features of Oracle OCI
1. Performance Metrics
Keep track of your Oracle Cloud Infrastructure's key performance indicators. Oracle Cloud Infrastructure supports a wide range of technologies, including compute, storage, networking, security, database management, analytics, and big data, among others. The Oracle Cloud Infrastructure monitoring feature in Applications Manager will provide you with deep insight into its computing capabilities.
You may do the following with Applications Manager's Oracle Cloud Monitoring service:
- Monitor your computing elements in real-time.
- Keep an eye on the CPU and memory use.
- Keeping an eye on your boot volumes is a good idea.
- Keep track of block volumes efficiently.
- Ensure that the network is as efficient as possible.
- Quickly resolve issues and create reports
2. Health Checks
You may use compute infrastructure health metrics to keep track of the state and health of your compute instances.
Status of instance health (up/down): When a bare metal instance is operating, the instance status metric may be used to determine if it is available (up) or unavailable (down). Contact assistance if the instance is down for more than 30 minutes.
Instance maintenance status: You may use the maintenance status metric to see if a VM instance is scheduled for planned infrastructure maintenance.
Health state of bare metal infrastructure: The health status metric allows you to keep track of the infrastructure for bare metal instances, including hardware components like the CPU and RAM.
3. Alarm Notification
When the alarm is in the firing state, the alarm query assesses the notification destination and other alarm features. Managing Alarms advises on how to manage alarms.
Use the Monitoring Query Language (MQL) expression to assess the alarm. A measure, statistic, interval, and trigger rule must all be specified in an alarm query (threshold or absence). The Monitoring service's Alarms feature interprets the findings for each provided time series as a Boolean value, with zero, indicating false and a non-zero value indicating true. The trigger rule condition has been fulfilled if the value is actual.
4. Instance Pool updates
Whether you're using the Console or the REST API with an SDK, CLI, or another tool to monitor resources, you must be granted the proper type of access in a policy created by an administrator. The policy must grant you access to both the monitoring services and the monitored resources.
Oracle OCI Functions
Functions — Serverless computing is one of the services provided by OCI. Fn Project is the foundation for Oracle OCI Functions. The Fn project is a serverless container-native open-source platform that can operate anywhere. In OCI, the serverless solution is called OCI Functions. OCI Functions are typically short-running, stateless, and designed to perform a single logic task. These are compatible with a variety of microservice execution and integration paradigms in OCI.
The following are some of the most important advantages of OCI Functions:
- DevOps ensures continuous delivery.
- Scalable
- High Availability
- Resilient \sFlexible
- Isolation of Autonomous Failure
Applications are logical groups of OCI functions. OCI Applications are coupled to an OCI Virtual Cloud Network (VCN) resource, and functions inside them are connected to the VCN network as soon as they are started.
A logical grouping of functions, a way to allocate and configure resources for all functions in the application, a familiar context to store configuration variables available to all functions in the application, and a way to ensure function runtime isolation are all characteristics of an OCI Application.
The following are the OCI functions:
- Small but strong code units usually perform a single task.
- Organized into Docker images and saved in a chosen Docker registry in response to a CLI command or a signed HTTP request.
- Fn Project CLI is a command-line interface for the Fn Project (fn invoke)
- CLI OCI (oci fn function invoke)
- OCI Functions invoke endpoint with signed HTTP request (oci raw-request — http-method POST)
- OCI Events triggered this.
- API Gateway service provided by OCI
- Notification Service for OCI
Ruby, Python, Java, Kotlin, Go, and NodeJS is supported natively by OCI Functions. For the programme to begin, we must declare the programming runtime language for functions and its memory allocation. These are saved in the file func.yaml. Custom Docker images may also be added to OCI Functions.
Oracle Cloud Infrastructure Services
OCI provides five different computing services:
- Bare metal
- Virtual machine
- Dedicated virtual host
- Container engine
- Function
Without any virtualization; bare metal provides only the actual server. In addition to the server, virtual machines provide the virtualization layer. In the case of a dedicated virtual host, the user has total control over the virtual machines (VMs) operating on the host. The user will only be able to handle the programme in the container engine since the cloud provider will manage the OS. Finally, in the case of Oracle Functions, the user is just responsible for the code; the rest is taken care of. The benefit of Oracle Functions is that the user only pays for the resources used while executing the code.
Oracle provides four different storage services:
- Data is stored in fixed-size blocks in block storage. There is no metadata in the database. It's network-based storage that's accessible from anywhere. The block volume can be backed up regularly by the user. It can be done manually or automatically.
- Local NVMe — Attached to the computing instance, is temporary storage. When an instance dies, the data is lost, which is not the case with other forms of storage.
- A hierarchical collection of documents organized into folders is known as file storage. It's a form of network storage that's highly long-lasting. Snapshots can be taken from backups.
- Object storage – All data types are saved as objects in a bucket, including images, videos, and documents. Without a folder organization, these are kept in a single flat format. As a result, data retrieval is rapid, and metadata is also saved. It is often used to store Big Data and unstructured data since it is very scalable.
- Rarely accessed data can be kept in archive object storage for lengthy periods at a lower cost.
Comments
Post a Comment