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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are AWS services for Decoupling apps?

A
  • SQS: Simple Queue Service

- SNS: Simple Notification Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is MQ?

A
  • Allows use of ‘open’ queuing protocols (instead of SQS/SNS)
  • Easier migration for existing queuing application into AWS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly