I have created a Play
web application which is now deployed on GCP
. The application consists of two pods and a load balancer service.
I want to protect my application from DDOS
attacks. Referring to this article - https://cloud.google.com/files/GCPDDoSprotection-04122016.pdf, is the load balancer I have created using the following yaml
files sufficient or is the document referring to some other type of infrastructure level load balancer?
Quote from the document
"DDoS Protection by enabling Proxy-based Load Balancing ○ When you enable HTTP(S) Load Balancing or SSL proxy Load Balancing, Google infrastructure mitigates and absorbs many Layer 4 and below attacks, such as SYN floods, IP fragment floods, port exhaustion, etc. ○ If you have HTTP(S) Load Balancing with instances in multiple regions, you are able to disperse your attack across instances around the globe. "
My current application is deployed using the following yamls.
apiVersion: apps/v1
kind: Deployment
metadata:
name: name
spec:
replicas: 2
selector:
matchLabels:
app: somename
and
apiVersion: v1
kind: Service
metadata:
name: somename-service
spec:
selector:
app: somename
ports:
- protocol: TCP
port: 9000
targetPort: 9000
type: LoadBalancer