Key points to review before the exam about firewalls, container best practices and DDoS protection
1. Firewall default rules:
Following rules are created with lowest priority and will be applicable if not overridden by a higher priority rule
- All default outbound traffic is allowed(Refer the following document for exceptions: https://cloud.google.com/vpc/docs/firewalls#blockedtraffic)
- All ingress traffic is blocked
3. Container best practices:
- Package single app or piece of software as a container. An application with unique parent process but different possible child processes qualifies for this
- Run a PID1 and register Signal handlers
- Enable process namespace sharing in Kubernetes
- Use a specialized init system
- Optimize for Docker build cache
- Remove unnecessary tools
- Build the smallest image possible using the smallest base image, creating images with common layers and reducing clutter
- Enable image scanning for vulnerability
- Tag images using options like semantic versioning and Git commit hash
- Avoid public images if you have stringent security requirements
4. SYN Flood protection
As part of its DDoS protection services, Google Cloud Armor provides protection against SYN floods. It enables you to design unique policies that specify how to manage incoming traffic depending on different factors like IP address or location. You can also set rate restrictions with Cloud Armor to guard against incoming traffic floods
5. Cloud Identity-Aware proxy usage
Google Cloud Identity-Aware Proxy (IAP) enables you to protect access to apps running on Google Cloud Platform (GCP) by using Identity and Access Management (IAM) to identify and authorize users. IAP functions by intercepting requests coming into your application and verifying the user's identity. IAP permits the request to proceed if the user has successfully authenticated and been granted access to the application. If the request is not approved, IAP returns a 403 (forbidden) response
Any application that is accessible via a public or private load balancer, such as Compute Engine instances, Kubernetes Engine clusters, and App Engine applications, can be secured using IAP. You can also protect applications hosted in other clouds or on-premises with the service. IAP also offers TCP forwarding which can protect SSH and RDP access for your VMs
IAP can intercept incoming request to your application and verify identity of the user by checking JWT in cases where JWT assertion is used to authenticate user and contains information and claims that the user wants to transmit
Comments
Post a Comment