modernisation-platform
modernisation-platform copied to clipboard
Enable AWS shield advanced, DDoS monitoring and Auto-DDoS mitigation for Xhibit portal.
User Story
As a Modernisation Platform Engineer I want to provide AWS Shield Advanced capabilities to the Xhibit Portal service So that DDoS monitoring and automatic DDoS mitigation are in place for this customer
User Type(s)
Modernisation Platform Customer (Xhibit Portal team) Xhibit Portal user
Value
Customers do not have the permissions required to enable/disable AWS Shield Advanced for themselves. A Modernisation Platform Team member can do so for them. At present Xhibit Portal has AWS Shield Advanced in place, but in monitoring mode. This has been in place for a sufficient amount of time for us to make an informed switch to actively protect the application.
Questions / Assumptions / Hypothesis
Hypothesis
If we move Shield Advanced from monitoring to protecting Then we will safely protect the Xhibit Portal application
Proposal
Definition of done
- [x] AWS shield advanced enabled
- [ ] DDoS Monitoring complete
- [ ] Auto ddos mitigation in place
- [ ] tests are green
- [ ] UR test OR added to continual research plan
Reference
Shield advanced now enabled
https://user-guide.modernisation-platform.service.justice.gov.uk/runbooks/enabling-shield-advanced.html#enabling-aws-shield-advanced
This will need to happen in conversation with the Xhibit Portal team to get an understanding of how their service has been utilised since launch - eg, any expected traffic spikes that stand out from baseline.
I've taken this one out of sprint as it looks like the AWS managed ACLs for Shield were either overwritten or not fully applied with a count action. We'll need a recommended period of 30 days for the ACLs to get a baseline on what traffic should flow through.
For the time being though I've attached the AWS managed ACL to both public load balancers, with a low count threshold, and an enforcement action of count
so if they're triggered they won't be disruptive.
https://github.com/ministryofjustice/modernisation-platform/issues/1690
NB - this should probably wait for sprint 32
to be actioned if we want the full 30 days to elapse.
Checked and saw no events - switched action for Shield-Count
rule to `block