Od

Oracle Database 21c Standard Edition 2

AWS Databases

Oracle Database 21c Standard Edition 2 on a fully patched Oracle Linux 8, with the database and its passwords created on your instance at first boot.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24 hours a day
by email, guaranteed response within 24 hours

Overview

Oracle Database 21c Standard Edition 2 is Oracle's relational database for general purpose workloads. This image installs release 21.3 from Oracle's base media on Oracle Linux 8, with every package updated at build, and first boot creates the ORCL container database and ORCLPDB pluggable database on your instance. Bring your own Oracle Database Standard Edition 2 licence; Oracle's Premier Support for 21c ends on 31 July 2027, with no Extended Support.

Why the cloudimg image

cloudimg builds the image so no two instances share a password: first boot sets unique SYS, SYSTEM and PDBADMIN passwords in a root-only file before any listener starts. The listener answers on 127.0.0.1 only, reached through an SSH tunnel; SSH is key-only, database processes are blocked from the instance metadata service, and the Oracle home and data sit on a dedicated 30 GiB EBS volume. No Oracle licence is bundled. cloudimg's support team is on hand 24 hours a day by email, with a guaranteed response within 24 hours.

Common uses

  • General purpose OLTP
  • Oracle migration
  • Application databases

Key features

  • Oracle Database 21c Standard Edition 2 (21.3.0.0.0 base release) on Oracle Linux 8, updated at build: first boot creates the ORCL container and ORCLPDB pluggable database on your instance, with unique SYS, SYSTEM and PDBADMIN passwords.
  • Listener on 127.0.0.1:1521 reached through an SSH tunnel, key-only SSH, and database processes blocked from the instance metadata service; Oracle software and data on a dedicated 30 GiB EBS volume.
  • Bring your own Oracle Database Standard Edition 2 licence. Oracle Database 21c is an Innovation Release: Oracle's Premier Support ends on 31 July 2027, with no Extended Support.

Description

This is a repackaged software product wherein additional charges apply for the installation, configuration and packaging of the software in this image by cloudimg.

## What cloudimg adds to Oracle Database 21c Standard Edition 2

This image installs Oracle Database 21c Standard Edition 2 (release 21.3.0.0.0 from Oracle's base media, no Release Update) on Oracle Linux 8, with every Oracle Linux package updated when the image was built. The image carries the Oracle home only, with no database and no password: each instance creates its own. You get:

  • A database and passwords unique to your instance: first boot creates the ORCL container database and the ORCLPDB pluggable database on your instance, then, before any listener starts, sets random SYS, SYSTEM and PDBADMIN passwords, locks every other account, proves the old and default passwords are refused and writes the new ones to /root/oracle-db-credentials.txt (root only). If a step fails, the database stays stopped.
  • Listener on 127.0.0.1:1521 only: reach it through an SSH tunnel; the user guide shows how to open 1521 to your own network with Oracle network encryption.
  • Database blocked from instance metadata: a systemd IP deny and an nftables rule stop database sessions reaching 169.254.169.254, so SQL that makes network calls cannot read instance role credentials.
  • Key-only SSH: password, keyboard-interactive and root logins are switched off.
  • Oracle software and data on their own 30 GiB EBS volume at /opt/oracle, started and stopped by oracle-db.service.
  • A step-by-step user guide for launch, first boot, SQL*Plus, SSH tunnels, SQL Developer, backups and patching.

## Licensing: bring your own Oracle licence

This listing does not include an Oracle Database licence. The hourly charge is cloudimg's, for the build and first-boot setup described above. You must hold a valid Oracle Database Standard Edition 2 licence and use it under your agreement with Oracle. Oracle's cloud licensing policy allows Standard Edition 2 on Amazon EC2 instances of up to 8 vCPUs; check the current policy for how vCPUs are counted.

Oracle Database 21c is an Innovation Release: Oracle's Premier Support for it ends on 31 July 2027 and there is no Extended Support, so plan a move to 19c or 26ai. This image ships the 21.3 base release: apply a current Release Update under your Oracle support contract before production use.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. cloudimg is not affiliated with or endorsed by Oracle.

## Who it is for

  • Developers trying 21c features such as the native JSON data type and blockchain tables on Standard Edition 2
  • DBAs testing applications on a multitenant Standard Edition 2 database
  • Software vendors testing applications against Oracle Database 21c
  • Test, training and proof-of-concept environments on AWS

## What Standard Edition 2 includes

Oracle Database 21c is multitenant only. Standard Edition 2 provides the core Oracle engine: SQL and PL/SQL, ACID transactions with multi-version read consistency, JSON and XML data, Data Pump, SQL*Loader, RMAN backup and recovery and Oracle Net connectivity, with up to three pluggable databases per container. Enterprise Edition features and options such as Partitioning, Data Guard, the Diagnostics and Tuning Packs and Advanced Security are not part of Standard Edition 2.

## Getting started

1. Subscribe and choose the version Oracle Database 21c SE2 on Oracle Linux 8 (m5.large to m5.2xlarge, at most 8 vCPUs).

2. The suggested security group allows SSH (22) from any address: change the source to your own IP. Do not open TCP 1521.

3. SSH in as ec2-user. First boot takes about 15 minutes on m5.large; then read the passwords with `sudo cat /root/oracle-db-credentials.txt`.

4. Connect through an SSH tunnel (`ssh -N -L 1521:127.0.0.1:1521 ec2-user@`) to localhost:1521/ORCLPDB.

## Earlier versions

If you run an instance of the earlier Rocky Linux 8 or AlmaLinux 8 versions: those images have a SYS and SYSTEM password set when they were built, the same on every instance of that version. Change SYS and SYSTEM and delete /stage/scripts/oracle-database-credentials.log, as the user guide shows.

Related technologies

oracle 21c se2oracle 21c standard edition 2oracle se2 amioracle 21coracle database 21coracle 21c byoloracle 21.3pluggable databaseoracle database ec2sqlplusoracle linux 8 oracleoracle 21c oracle linux