Skip to content
Xiao Jia edited this page Nov 10, 2023 · 6 revisions

Launch an instance

Application and OS Images (Amazon Machine Image)

ami-023fb534213ca41da Fedora-Cloud-Base-37-1.7.x86_64-hvm-us-east-1-gp2-0

Instance type

t3a.large (about $55/month) or something with at least 8 GB RAM

Network settings

Choose "Create security group"

Security group name: nsbox

Description: nsbox firewall rules

Inbound Security Group Rules

# Type Protocol Port range Source type Source Description
1 ssh TCP 22 Anywhere 0.0.0.0/0 Default SSH
2 Custom TCP TCP 8080 Anywhere 0.0.0.0/0 Default HTTP
3 Custom TCP TCP 8443 Anywhere 0.0.0.0/0 Default HTTPS
4 Custom TCP TCP 9440-9444 Anywhere 0.0.0.0/0 Apps HTTPS
5 Custom TCP TCP 9992 Anywhere 0.0.0.0/0 Keycloak HTTPS
6 Custom TCP TCP 29418 Anywhere 0.0.0.0/0 Gerrit SSH

Configure storage

1x 30 GiB gp2 Root volume

Note: A completed installation currently takes about 3-4 GiB. You may adjust the volume size depending on how much data you want to persist.

Installation

Use the fedora user to ssh into your instance:

ssh -i path/to/your.pem [email protected]

(replace 11.22.33.44 with the actual public IP address assigned to your instance)

Run sudo -i to become root:

[fedora@ip-172-31-56-59 ~]$ sudo -i
[root@ip-172-31-56-59 ~]#

Follow the instructions in AlmaLinux or Fedora or RHEL

Clone this wiki locally