December 26, 2024
High Availability, Fault Tolerance and Disaster Recovery
AWS Solution to migrate data from relational database to DynamoDB
- use Amazon DMS to migrate data to a DynamoDB table
- create a task in an object mapping rule to copy needed relational DB tables to DynamoDB
- within object-mapping set Partition Key and Sort Key
- i.e. WeatherStationId as Partition key, and
- timestamp as Sort Key
Amazon Aurora Read Replica Errors
- a configuration change was made, now the following errors occur:
- RDS-Event-0045
- RDS-Event-0046
- Resolution: ensure max_allowed_packet parameter on the Read Replica is set to the same value as it is on the Source DB
Connect AWS SSO to Microsoft ActiveDirectory
- Connect AWS SSO to Microsoft ActiveDirectory
- AWS SSO with ActiveDirectory allows both types of user credentials:
- UPN: <username>
- DOMAIN\<username>
- You can't use UPN if you have two-step verification plus Content-Aware verification
AWS Organizations and AWS Managed Microsoft AD
- AWS Organizations and AWS Managed Microsoft AD must be in the same region and in the same account
- Implement AWS Organizations with 'All Features' enabled
- deploy the AD Connector residing in the master account
- Ensure the number of SSO Permission Sets are less than 500
- Ensure the number of Microsoft AD Groups is less than 1500
Amazon DynamoDB Global Tables
- Global Tables create a multi-master and multi-region data store
- DynamoDB Streams will propogate changes between the replicas
- enables multi-region replication
- enables multi-master writes
Canary Deployments Rout53 Configuration
- Install new app in new Auto Scaling Group
- Use 'Weighted Routing' policy in Route53
- use 5%, 50% 100% traffic to new ASG if tests are successful
CloudFormation UpdateReplacePolicy
- use on resources that are important not to replace
- example is RDS instances that lose data when replaced
- set UpdateReplacePolicy to Retain
CloudFormation Change Set
- CloudFormation Change Sets allow previewing the effects of a change
- you can see if resources will be replaced by a CFN update
IPv6 with ALB's and NLB's
- currently, only Application Load Balancers support IPv6
- currently, NLB's do not support IPv6
Troubleshoot DynamoDB Latency
- Implement DAX cluster to cache common queries
- this reduces latency on common queries
- Group separate attributes into JSON Blobs
- this reduces DynamoDB scan times
- Use AWS SDK in development to make AWS X-Ray tracing available
AWS DirectConnect limits data traversing the Internet
- provision an AWS DirectConnect connection to your local router in your datacenter
- connect the DirectConnect connection to your VPC
- push backups via DirectConnect
Loading comments...