U bekijkt momenteel de Netherlands versie van de site.
Wilt u overschakelen naar uw lokale site?
14 MIN LEESTIJD

ORACLE CLOUD

Get virtual cloud hosting for zero cost

Darius Wiles explains how to use Oracle’s cloud to host a public virtual machine for free (as in beer) just as long as you don’t use it too much…

OUR EXPERT

Darius Wiles has investigated the major cloud providers to see what he can get for free. Because he’s cheap.

Lets create a Linux virtual machine running in Oracle’s cloud, and it’s fine as Oracle’s paying for it! Linux Format articles often estimate the cost of a small virtual machine to be around £5 or $5 a month, but Oracle’s Always Free Tier makes it possible for you to run a few Arm-based and x86 machines for free. This isn’t a time-limited trial, so you can keep your machines running indefinitely. As general living costs continue to rise, anything that reduces your outgoings has to be a good thing.

The Always Free Tier includes x86-64 machines with one CPU core and 1GB of memory, and Arm machines (based on Ampere Altra CPUs) with up to four physical cores and 24GB of memory. You can choose either, but this tutorial assumes that you opt for Arm.

By the end of the tutorial you’ll have a virtual machine running a public web server and know how to expose other software to the internet. This tutorial only discusses the steps essential to reaching our goal, and ignores the numerous other cloud services and options that are available. Space limitations means that this isn’t a general guide to the cloud and how to get the most from it (see LXF281 to LXF293 for that!)

You need to be comfortable with writing and implementing code from the Linux command line, but no other knowledge of virtualisation or clouds is required. You’ll need to sign up for an Oracle Cloud account, which requires you to supply personal information and credit card details. Oracle is clear about services that aren’t covered in the Always Free Tier, so you won’t be charged unless you explicitly upgrade your account.

You access all services via the navigation menu, and in this tutorial you’ll use the Compute and Networking menu items.
During signup a cloud account name will be suggested. Choose your home region carefully because it can’t be changed later.

Create an Oracle Cloud account

Start by browsing to https://cloud.oracle.comand clicking Sign Up. You’ll be asked for your country, name, address, email (which you need to verify) and phone number. Your Cloud Account Name is used by Oracle to uniquely identify your cloud account and it’s fine to choose the default.

Your Home Region is the geographic location where resources you create (such as virtual machines) are physically located and it can’t be changed later. Choose the data centre that’s nearest to you (to minimise latency), unless you want your resources to be in a specific location or you’re warned that your nearest data centre currently has high demand for the hardware you wish to use. Arm hardware is sometimes in short supply at certain data centres, and you’ll see a warning if this is the case.

Ontgrendel dit artikel en nog veel meer met
Je kunt genieten:
Geniet volledig van deze editie
Direct toegang tot 600+ titels
Duizenden oude edities
Geen contract of verplichting
ABONNEER NU
30 dagen proberen, dan gewoon €11,99 / maand. Op elk moment opzeggen. Alleen nieuwe abonnees.


Meer informatie
Pocketmags Plus
Pocketmags Plus

Dit artikel komt uit...


View Issues
Linux Format
September 2022
IN DE WINKEL BEKIJKEN

Andere artikelen in dit nummer


Linux Format
Linux Format
The #1 open source mag Future Publishing Limited,
WELCOME
MEET THE TEAM
We’re learning to code this issue, so we asked our writers what was one of their first experiences with coding?
Reading, writing and coding
Eight-year-old me used to stay behind after school,
REGULARS AT A GLANCE
Microsoft Pluton causes concern
What exactly is Microsoft Pluton, and should we be worried?
Epic releases Linux binaries for Unreal Engine 5
Joy for Linux game designers, but Epic could do more.
Lightning Framework malware discovered
A “Swiss Army Knife” malware targets Linux systems.
MAKE THE BEST OF IT
Les Pounder is associate editor at Tom’s Hardware
HELP THE HELP DESK
Keith Edmunds is MD of Tiger Computing Ltd,
RISC-V hits milestone
The architecture now powers over 10 billion cores.
No patches for 32-bit distros
Older distros remain open to Retbleed attacks.
Linux laptop gets liquid cooling
The Tuxedo Stellaris 15 Gen4 can use a liquid cooling setup.
Distro watch
What’s down the side of the free software sofa?
LICENCE TO INFLUENCE
Matt Yonkovit is the head of open source strategy at Percona
GO ASAHI!
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters summarises the latest happenings in the Linux kernel, so that you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
WRITE TO US Do you have a burning
Helpdex
shane_collinge@yahoo.com
HotPicks
Flameshot Tinycheck mStream asciinema Rapid Photo Downloader Exiftool Frogr ScummVM Xonotic Phockup Recoll
TinyCheck
Version: 0.7-test Web: https://tiny-check.com
mStream
Version: v5.11.4 Web: https://mstream.io
asciinema
Version: 2.0.2 Web: https://asciinema.org A sciinema records
Rapid Photo Downloader
Version: 0.9.33 Web: https://damonlynch.net/rapid R apid Photo
Exiftool
Version: 12.42 Web: https://exiftool.org E xifTool is
Frogr
Version: 1.7 Web: https://wiki.gnome . org/Apps/Frogr B efore
ScummVM
Version: 2.5.1 Web: www.scummvm.org S cummVM is
Xonotic
Version: 0.8.5 Web: https://xonotic.org X onotic is
Phockup
Version: 1.9.0 Web: https://github.com/ ivandokov/phockup P hockup is
Recoll
Version: 1.32 Web: www. lesbonscomptes.com/recoll M ost
REVIEWS
Samsung MUF-256DA
Ganesh T S has never had such a fast thumb… drive!
AmOs 22.08.02
Mayank Sharma always falls for beautiful-looking Arch distros, but he wonders if this one does enough to appeal to others…
Condres OS 1.0
Mayank Sharma isn’t usually so easily fooled, but the fear of missing deadlines made him drink old, odourless wine from a new bottle.
Regata OS 22.0.3
Mayank Sharma has no qualms about testing gaming distros, but he doesn’t like the ones that work well… they make him miss deadlines.
Porteus 5.0
Mayank Sharma has a soft spot for portable distros, and wonders if the latest Porteus can wean him away from his all-time favourite, Slax.
Total War: Warhammer 3
Management thought the Realm of Chaos was its hot-desking floor, but Fraser Brown knows better and is perma-working from home…
ROUNDUP
3D printers
WE COMPARE TONS OF STUFF SO YOU DON’T HAVE TO!
Setup and getting started
Kits are rare, but there’s still a little assembly required before printing.
Connectivity and software
From inserting a USB key to Wi-Fi, there’s plenty of connection choices.
Smart printing features
There’s nothing worse than a failed print…
Auto bed levelling and bed options
The first layer sets the tone for the rest of the print
Advanced features
Upgrades, cross-grades and stick-ons can boost a 3D printer’s functionality.
User interface
It’s important to easily print, maintain and adjust settings.
Potential for upgrades
How can these 3D printers be made future-proof?
The verdict
3D printers
GET INTO CODING!
Code monkey Jonni Bidwell’s firmware has glitched out, so he must teach himself to code again. He hopes you’ll join him for the adventure…
Initial conditions
There are any number of best places to start coding, which in practice is no help at all.
The body syntonic
Get started with Python and a famous part of the venerable Logo language – Turtle Graphics.
The great and the git
Using version control will help you manage your code and keep it archived for posterity or just let you duplicated existing projects…
Invaders, possibly from space
We’ve resurrected a classic shoot-em-up project from a long lost Linux magazine. All you need to do is save the world.
Pi USER
School coding classes get a helping hand
The Raspberry Pi Foundation provides resources aimed at teachers teaching five- to 11-year olds.
W5100S-EVB-Pico
Les Pounder wants to add another device to the Internet of Things. “Just a ‘pico’-sized project from WIZnet,” he promises…
Flirc Pi 4 Case
Les Pounder settles down to watch a film, blast some aliens and does a spot of low-power computing while his Raspberry Pi 4 stays cool.
Get to grips with analog electronic control
Les Pounder “cranks that dial” to relive his youth of soldering irons and 1980s electronics, when a ‘bit’ was a relatively unknown concept.
Host your own pro-quality CCTV
Hosting CCTV at home can remove the reliance on expensive and often restrictive subscription services. Find out how with Matt Holder.
IN DEPTH
FEATHER-LIGHT WEATHER MONITOR
Jonni Bidwell doesn’t fake it till he makes it. Makes a Pi-powered environment monitor, that is…
That is PROLOGICAL!
Thanks to the artificial intelligence revolution, a 50-year-old language is enjoying a resurgence in popularity
TUTORIALS
Run a modern, focused, alternative to Vim
While Shashank Sharma is quite fond of the text editor Vim, he realises that it can overwhelm new users. Thankfully, a simplified variant is on offer…
Organise your fonts and create new ones
Nick Peers reveals how to manage your font collection as well as design new typefaces from scratch using a collection of open source tools.
Relive the days of BeOS
Michael Reed wonders if he’s met the 90s-style desktop of his dreams with Haiku, an open source re-creation of the BeOS operating system.
How to become a screencasting pro
Screencasts are excellent for creating application tutorials. Michael Reed shows you how to make one with end-to-end open source software.
Managing your virtual private server
David Rutland wipes away a tear as he bids farewell to the semi-unofficial Linux Format VPS. He’s not sad about it, though – he suffers from hayfever.
CODING ACADEMY
Develop TCP/IP servers and clients
Get a better grip on network programming as the indispensable Mihalis Tsoukalos explains how to develop TCP/IP software in Rust.
Build a club on the next-gen web
Follow along with Mats Tage Axelsson as you assemble your first Web 3.0 application using Solidity and JavaScript!
Chat
X
Pocketmags ondersteuning