DEV Community

Latchu@DevOps
Latchu@DevOps

Posted on

1 1

🚀 Setting Up a Custom VPC with Public and Private Subnets on Utho Cloud

🛠️ Step 1: Create a New VPC

Log in to your Utho Cloud account.

Navigate to the VPC section and click Create VPC.

Select:

✅ Your preferred Region

🏷️ VPC Name

📦 CIDR Block – e.g., 10.0.0.0/16

Once filled, deploy your VPC.

Image description

🌐 Step 2: Create Public Subnets

Next, create 3 public subnets within your newly created VPC.

Repeat the following steps for each public subnet:

Subnet Name: Public-Subnet-1 (or 2, 3)
Auto-assign Public IPv4 Address: ENABLE
Default Subnet: No
Subnet Type: Public
Network: 10.0.0.0 (or 10.0.16.0, 10.0.32.0)
IP Range: /20
Enter fullscreen mode Exit fullscreen mode

📌 Note: Use different CIDR blocks for each subnet to avoid overlap.

Public Subnet

🔐 Step 3: Create Private Subnets

Similarly, create 3 private subnets with public IP auto-assign disabled.

Repeat the following steps for each private subnet:

Subnet Name: Private-Subnet-1 (or 2, 3)
Auto-assign Public IPv4 Address: DISABLE
Default Subnet: No
Subnet Type: Private
Network: 10.0.48.0 (or 10.0.64.0, 10.0.80.0)
IP Range: /20
Enter fullscreen mode Exit fullscreen mode

Private Subnet

✅ Final Overview

At the end of this setup, you’ll have a total of 6 subnets:

3 Public Subnets for resources that need internet access

3 Private Subnets for internal resources

Here's a visual reference from the Utho dashboard:

VPC Subnets

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (2)

Collapse
 
francesco_infraware profile image
Francesco Niccolò Garau

Hey man, keep up with the good work! I'd love to have your feedback on this: infraware.dev

Collapse
 
nevodavid profile image
Nevo David

Nice. Feels like building a Lego city with separate areas for visitors and secret spots just for you.

ITRS image

See What Users Experience in The Browser — Anywhere, Anytime

Simulate logins, checkouts, and payments on SaaS, APIs, and internal apps. Catch issues early, baseline web performance, and stay ahead of incidents. Easily record user journeys right from your browser.

Start Free Trial