Instance Creation in Oracle Cloud
To launch a free Linux Server in Oracle Cloud
1. Create a Virtual Cloud Network (VCN)
2. An Internet Gateway
3. Security Rules
4. A Public Subnet &
5. Compute Instance
1. Virtual Cloud Network (VCN)
10.0.0.0/16. 2. An Internet Gateway
The internet gateway acts as the bridge connecting your private VCN to the public internet.
- Click on zyn-vcn VCN -> Gateway -> Internet Gateways -> Create Internet Gateway.
- Name (zyn-internet-gateway).
- Click Create Internet Gateway.
Add Route rules for Internet Gateway
1. zyn-vcn -> Routing -> Route table -> Default route table for zyn-vcn
1. zyn-vcn -> Routing -> Route table -> Default route table for zyn-vcn
2. Route Rules -> Add Route Rules
- Target Type:
Internet Gateway - Destination CIDR Block:
0.0.0.0/0 - Target Internet Gateway:
zyn-internet-gateway
3. Click Add Route Rules.
3. Security Rules
Security lists hold firewall rules. Explicitly allow traffic to reach the server.
- zyn-vcn -> security -> Security Lists (Default Security List for zyn-vcn)
- Security Rules -> Add Ingress Rules
- Create the SSH Rule (to log into your server):
- Click Add Ingress Rules.
Optional: Repeat this step using port80(HTTP) or443(HTTPS) for unsecure/secure website
4. A Public Subnet
A subnet is a smaller piece of VCN.
- zyn-vcn -> Subnets -> Create Subnets
- Name:
zyn-public-subnet - Subnet Type:
Regional - IPv4 CIDR Block:
10.0.1.0/24 - Subnet Access: Public Subnet.
- Default Route Table for zyn-vcn
- Default Security List for zyn-vcn
- Create Subnet.
5. The Compute Instance
- Virtual cloud network -> select virtual cloud network -> zyn-vcn
- Subnet: zyn-public-subnet
- Public IP Address: Assign a public IPv4 address
- Generate a key pair for me.
- Download private key
Comments
Post a Comment