April 28, 2021
Here is the link.
- private network - webserver, VM - IP
- application server - business logic - different people - take care of that
- relational database - DB -
- First start from three tier architecture
- - web server -> bottom neck -> scale -> horizontally -> bring multiple VM web server and app server
- bring load balancer -> distribute work to web server properly
- Add DNS - fb.com
- Relational database -> not scalable -> add NoSql DB (Cassandra, MongoDB)
- DB - read heavy - add one more layer called DB Cache (Redis) - Figure 1
Figure 1
- Images on web server -> external storage -> Content filter ( nudity, ads products you likes, recommendation, friends, called click stream analysis
- Click stream analysis - like twitter - further store external storage -> data operation -> aggregation -> Hadoop/ Spark platform -> End of year, data analytics -> business intelligence - Figure 2
Figure 2 - add external storage, click stream analysis, content filter
- Add web browser to watch external storage - like videos shared on storage
- Watch video on mobile device, different format -> video convert in-between, add mobile users
- Millions of users watch video, bottleneck -> CDN -> content deliver network -> Content delivery network (Cache) - Figure 3
How to convert to Amazon AWS service?
- Private network -> VPC
- VM -> EC2, auto scaling feature, up to 10 and then down to 2
- DB cache -> ElastiCache
- DB -> RDS, noSQL -> DynamoDB
- DNS service -> Route53 - fb.com
- Storage service -> S3
- Content filter -> Rekognition
- video convert -> mobile friendly format -> Lambda, Lambda - excute the function
- click stream analysis -> Kinesis
- Hadoop platform -> EMR, spark job and hadoop job
- ETL operation -> Glue
- Data warehousing -> Redshift
- Business intelligence -> Amazon using Athena, quicksight
- Content delivery netowkr -> CloudFront, Edge location - nearest location
- mobile notification -> SNS
- email -> SES
- message queue -> SQS (simple queue service)
- Monitoring board -> CloudWatch
- AWS application services -> API calls -> REST API -> API Gateway
- Cognito - Web and mobile user management
- Security service -> access of AWS -> IAM service -> identity and access management
- KMS -> encrypt - key management service
- Https -> transactions -> digit certificate
- ACM -> Amazon certificate manager
- WAF -> Firewall -> attacks, cross site script, injection
- EC2 -> AWS inspector -> Scan machine for any vulnerabilities
- AWS development and DevOps services
- take 2 - 3 days to setup
- CloudFormation - template - JSON, YMAL for you, create 30 minutes for you all resources for you
- Developers, DevOps, QA -> Codecommit -> IaaC -> cloudFormation -> CodeBuild -> CodeDeploy -> Continuous deployment pipelines ->CodePipeline -> CodeStar - project management issue Tracking Continuous Delivery
- Figure fb.com on AWS
No comments:
Post a Comment