Skip to content

Simple Powershell Script that automatically tries to create a arm vps in oracle cloud using OCI. Resulting in a work-around for "out of capacity"

Notifications You must be signed in to change notification settings

HotNoob/Oracle-Free-Arm-VPS-PS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Oracle-Free-Arm-VPS-PS

Simple Powershell Script that automatically tries to create a arm vps in oracle cloud using OCI. Resulting in a work-around for "out of capacity"

Resolving Oracle Cloud "Out of Capacity" issue and getting free VPS with 4 ARM cores / 24GB of memory

Requirements. OCI CLI.

follow instructions to install oracle cloud cli

Install: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#InstallingCLI__windows

usage

in powershell prompt login to oracle cloud using this cli command:

oci session authenticate

then open/edit script, add tenancy id. follow instructions in script.

run script to easily get other parameters. read script for instructions.

disable setup mode.

then run script.

enjoy!

linux usage

to install powershell and run script on linux:

apt install powershell
chmod +x create_oracle_arm_instance.ps1
./create_oracle_arm_instance.ps1

session expiry!

oci sessions expire every 24 hours, you must re-run: oci session authenticate