AWS — VPC Security Architecture Best Practices using AWS Network and Application Protection Services
AWS — VPC Security Architecture Best Practices using AWS Network and Application Protection Services
Search Medium
Member-only story
TL;DR:
VPC is a critical component of the AWS cloud infrastructure, offering a scalable and
secure environment for deploying applications and services. AWS network and
application protection services give you fine-grained protections at the host-, network-,
and application-level boundaries, and provide equally flexible solutions that inspect
and filter traffic to prevent unauthorized resource access.
Security Groups
Security group controls the traffic that is allowed to reach and leave the resources that it
is associated with. SGs act as virtual firewalls for individual instances, controlling
inbound and outbound traffic. Use security groups to control traffic to/from EC2/RDS,
instances in your subnets.
Use NACLs to define broad traffic rules that you want to apply to every instance within a
subnet, and then fine-tune the internet accessibility of specific instances by applying security
groups.
Difference between Security Groups and Network Access Control List (NACL)
Flow log data is collected outside of the path of your network traffic, and therefore
does not affect network throughput or latency.
Determining the direction of the traffic to and from the network interfaces.
Demonstrate compliance
Network segmentation
Internet accessibility
Content inspection
Threat monitoring
Troubleshooting
Traffic Mirroring supports filters and packet truncation, so that you only extract the
traffic of interest to monitor by using monitoring tools of your choice.
AWS PrivateLink
AWS PrivateLink establishes private connectivity between VPC and supported AWS
services, services hosted by other AWS accounts, and supported AWS Marketplace
services. You do not need to use an internet gateway, NAT device, Direct Connect
connection, or AWS Site-to-Site VPN connection to communicate with the service.
To use AWS PrivateLink, create a VPC endpoint in your VPC, specifying the name of
the service and a subnet. This creates an elastic network interface in the subnet that
serves as an entry point for traffic destined to the service.
You can create your own VPC endpoint service, powered by AWS PrivateLink and
enable other AWS customers to access your service.
Network Firewall can help you monitor and protect your VPC traffic in a number of
ways, including the following:
Perform deep packet inspection on traffic entering or leaving your VPC (including
Internet gateway, NAT gateway, or over VPN or AWS Direct Connect).
Use custom lists of known bad domains to limit the types of domain names that
your applications can access.
Use stateful protocol detection to filter protocols like HTTPS, independent of the
port used.
Pass traffic through only from known AWS service domains or IP address
endpoints, such as Amazon S3.
Use WAF to filter any part of the web request, such as IP addresses, HTTP headers,
HTTP body, or URI strings to block common attack patterns, such as SQL injection or
cross-site scripting.
AWS Shield
AWS Shield is a managed DDoS protection service that safeguards applications running
on AWS. It provides dynamic detection and automatic inline mitigations that minimize
application downtime and latency.
Use AWS Shield to protect applications and APIs from SYN floods, UDP floods, or other
reflection attacks. It helps you maximize application availability and responsiveness.
There are two tiers of AWS Shield: Standard and Advanced. AWS Shield Advanced is a
tailored protection program that identifies threats using exabyte-scale detection to
aggregate data across AWS.
With DNS Firewall, you can filter, regulate, and control outbound DNS traffic for your
VPCs. You can monitor and control the domains that your applications can query. You
can specify lists of domain names to allow or block, and you can customize the
responses for the DNS queries that you block. i.e. You can deny access to the domains
that you know to be bad and allow all other queries to pass through. Alternatively, you
can deny access to all domains except for the ones that you explicitly trust.
Summary
Amazon VPC is a powerful service that provides a secure and scalable environment for
deploying applications in the cloud. You can minimize the risk of security breaches
and protect your critical resources using VPC security features and other security
services.
Happy Clouding!!!
Cloud Architect • 3x AWS Certified • 6x Azure Certified • 1x Kubernetes Certified • MCP • .NET • Terraform • GCP
• OCI • DevOps •(https://bit.ly/iamashishpatel)
744 1
Ashish Patel in Awesome Cloud
1.6K 12
1.6K 8
Ashish Patel in Awesome Cloud
993 12
67 1
Love Sharma in Dev Genius
1.2K 12
Lists
Staff Picks
323 stories · 81 saves
Self-Improvement 101
20 stories · 92 saves
Productivity 101
20 stories · 95 saves
Chee Siong Chan
507 7
Augustine Tetteh Ozor
70 2
Thilina Ashen Gamage in Platform Engineer
Saving Big on AWS: Best Practices for Cost Optimization and Efficiency
A checklist for Cloud Solution Architects to live by
77 1
Neal Davis
27 2