Cloud Integration Flashcards
1
Q
Why is Cloud Integration needed (app to app communication)?
A
- Many cloud apps need to communicate (ie., order app and shipping app)
- Might communicate directly (synchronous), but maybe cannot handle spikes
- Asynch communication (by using a queue) resolves this: decoupling
2
Q
What are AWS services for Decoupling apps?
A
- SQS: Simple Queue Service
- SNS: Simple Notification Service
3
Q
How does SQS work?
A
- Used to decouple
- Messages are guaranteed not to be lost
- Messages from app1 are stored in queue
- App2 (consumer) pulls messages from the queue to process
- Messages are deleted after read by app2
- Consumers share work and can scale out if needed
- Messages on queue are stored for 4 - 14 days
4
Q
How does SNS work?
A
- Sends one message to many receivers
- Publish subscribe model
- SNS instance is called a topic
- App1 publishes message
- Other apps subscribe
- All the other apps receive the message
- No retention of message
5
Q
What is Kinesis?
A
- Real-time big data input streaming
- real-time data such as video, audio, application logs, website clickstreams, and IoT telemetry data for machine learning, analytics, and other applications
6
Q
What is MQ?
A
- Allows use of ‘open’ queuing protocols (instead of SQS/SNS)
- Easier migration for existing queuing application into AWS
7
Q
What is API Gateway?
A
API Gateway acts as a “front door” for applications to access data, business logic, or functionality from your backend services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, any web application, or real-time communication applications (like Kinesis)