Advanced Architectures
License tied to MAC/IP address
- Request ENI
- Connect License to ENI
- Store license in bucket
- Create Lambda (or script) to update IP address in Parameter store/DNS
- Create bootstrap script to attach the ENI & get script
UDP traffic
- Use NLB for load balancing
- Set up DNS to Elastic IP of NLB
- Set up NACL to deny non-UDP traffic to NLB
CloudFront -> ELB, Bucket
- Enable CF distribution with ELB & Bucket as origin
- Create origin access identity (OAI) in CF
- Create bucket policy that requires OAI
- Create CF behavior that route requests based on path
Full text search DynamoDB
For real-time-ish:
- Configure DynamoDB Stream (or Kinesis Stream for DynamoDB)
- Use a Lambda to parse the stream to load OpenSearch. OR batched-later-ish
- Load the data via CloudWatch logs using a Subscription Filter
- Use a Lambda to load OpenSearch.