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.
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.
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.
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:
## 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
## 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@
## 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.