This graphic shows a Flask-based web server connected to an autonomous database, both deployed in an Oracle Cloud region within a single VCN and availability domain.

The Flask web server is attached to a public subnet. Traffic to the web server from the public internet flows through an internet gateway. The autonomous database has a private endpoint in a private subnet; it is not accessible from the public internet.

Network security groups are used to control network traffic to the web server and the database. Route tables are used to direct traffic from the subnet to the appropriate destination outside the VCN.