Rechercher dans ce blog

Tuesday, September 14, 2021

Using Oracle Cloud, Part 1: The 'Always Free' Offering - Virtualization Review

Using Oracle Cloud, Part 1: The 'Always Free' Offering

To get a feel for the Oracle Cloud, Tom Fenton shows how easy it is to sign up for and create a web site on an x86 VM and a desktop on an Arm VM, here using the "Always Free" option.

Despite the fact that Oracle isn't the most well-known public cloud provider, a fair number of Fortune 500 companies and government agencies depend on Oracle Cloud to run their day-to-day operations. Some of Oracle's notable accounts include Mazda, Zoom and even the famed Slurpee slinger, 7-Eleven. A few months ago, Oracle came onto my radar with their release of ARM-based virtual machines (VMs).

Oracle Cloud supports both large cloud environments for enterprises and much smaller cloud environments for individuals or businesses that only need a few VMs. They offer many of the services as the big three cloud providers (AWS, Azure and GCP), with the addition of many Oracles-specific services -- including databases, observability & management products, load balancers, virtual cloud network (VCN) flow logs, as well as VMs -- and at a cost that Oracle claims to be competitive with these other providers.

To show off their cloud services and entice developers and students, Oracle has an "Always Free" tier of service. Yes, you will need a credit card to sign up for this service, but the company promises that it will never be charged.

For this series of articles, I will look at how easy it is to sign up for and create VMs on, Oracle Cloud. To do this, I will attempt to create a web site on an x86 VM and a desktop on an Arm VM, which will give me an opportunity get a feel for the cloud.

Below is a list of some of the services that are offered on the Oracle Cloud Always Free tier:

  • 2 AMD-based Compute VMs with 1/8 OCPU and 1 GB memory each
  • An OCPU = 2 vCPUs
  • 4 Arm-based Ampere A1 cores and 24 GB of memory usable as one VM or up to 4 VMs
  • Ampere A1 Compute instances are disabled when your trial ends and then deleted (terminated) after 30 days, unless you upgrade to a paid account. To continue using Always Free Arm-based compute instances as an Always Free user, you must delete your existing Ampere A1 Compute instances and create new Ampere A1 Compute instances.
  • 2 Block Volumes Storage (200 GB total)
  • 10 GB Object Storage
  • 10 GB Archive Storage
  • Outbound Data Transfer: 10 TB per month
  • Unlimited Inbound Data Transfers
  • Site-to-Site VPN: 50 IPsec connections

Signing Up for Oracle's "Always Free" Service
As mentioned, despite being free, you will still need to provide Oracle with a credit card number when signing up for the Always Free service. This only makes sense as it prevents people from abusing the service.

The first thing I needed to do was to create an Oracle Cloud account. To do this, I went to https://cloud.oracle.com/free and clicked Sign Up.

[Click on image for larger view.]

This brought me to a panel where I needed to provide my country, name and email address. I was then sent an email link to verify my email address. Within a minute, I received the email and followed the verification link. This asked me to set a password, provide a company name and select a home region. I chose US West (San Jose) as I wanted to create an Arm-based VM and I was warned that due to high demand, not all regions had Arm compute capacity.

[Click on image for larger view.]

I was then asked for my address, phone number and credit card information. I was informed that the card would NOT be charged unless I upgraded my account.

[Click on image for larger view.]

Once the card was verified and I agreed to Oracle's terms of service, my free trial was activated. It took less than three minutes to set up my account and start my free trial.

Creating a VM
The first VM I created was a web page using an AMD x86 instance.

Once I had my account set up, I was redirected to a page that had QuickStart templates. At the top of this page, it states, "When your trial is over, your account will be limited to Always Free resources," and "Your account is currently being set up and some features will be unavailable. You will receive an email after setup completes." Some of the templates were tagged as "Always Free Engine."

[Click on image for larger view.]

After scrolling down the page, I clicked Create a VM instance.

[Click on image for larger view.]

I gave the instance a name (OracleVMx86_WebPage). The default OS was Oracle Linux, but I opted to use Ubuntu 18.04.

I selected a E2.1.Micro instance shape as it was the only one tagged as Always Free. It came with 1 OCPU, 1 GB of RAM, 0.48Gbps of bandwidth and 1 NIC.

[Click on image for larger view.]

I opted to have a public IP address assigned to it as I wanted to be able to access the VM externally.

[Click on image for larger view.]

An SSH key pair was generated and I saved the private key as it is needed to SSH into the VM. If you lose this key, you will NOT be able to access your VM.

I clicked Create and within one minute, the VM was created and running.

[Click on image for larger view.]

Connecting to the VM
I used Windows 10's built-in SSH client to connect to the VM. I used the default username ubuntu which doesn't have a password as SSH passkey is needed to connect to VM.

I entered ssh [email protected] -i <file with the public key> from my Windows 10 shell.

[Click on image for larger view.]

From the command line, I entered uname -a to see what version of Ubuntu was running and df -h . to see the size of the root disk. It had a 45G root disk and was using 1.5GB of it.

[Click on image for larger view.]

Monitoring the VM
According to the OCS web page, the VM had the option to be monitored using Compute Instance Monitoring, a feature which is enabled by default.

[Click on image for larger view.]

To view the metrics that were collected, I clicked Oracle Cloud in the upper left, then clicked Dashboard -> Instances and selected my instance.

[Click on image for larger view.]

On the web page that was displayed, I scrolled down to the section labeled Metrics and viewed the instance's CPU, disk and network activity.

[Click on image for larger view.]

Adblock test (Why?)


Using Oracle Cloud, Part 1: The 'Always Free' Offering - Virtualization Review
Read More

No comments:

Post a Comment

Blue Jays manager John Schneider saves woman choking at lunch, given free beer by restaurant - Fox News

Toronto Blue Jays manager John Schneider sprung to action when he saw a woman choking on food while at a lunch with his wife near the team’...