AWS Application Services

This was my preparation note while I appeared for AWS solution architect – Associate exam. I cleared it in first attempt with good margin. Sharing it here as I guess it helps for beginners and aspirants.

Other notes in this series.

Simple Notification Service (SNS)
  • Push based.
  • Supports SMS, mobile, email, http endpoints, applications, SQS.
  • Billing based on number of requests.
  • Supports delivery status.
  • Retention period of 14 days.
  • Supports multiple formats such as email, SMS, http(s).
  • Technical aspects
    • Define an endpoint (topic).
    • Concept of publishers and subscribers.
    • Publishers publish to topic
    • System broadcast the message to the subscribers for the topic.
  • Use-cases
    • In applications for asynch communication.
    • System notifications
    • SMS / Email broadcasting.
    • Mobile push services.
  • Android push service.
    • Android has a service connect to Google cloud message. AWS can send messages to Google cloud message API.
  • Security tied to IAM account.
  • Simple Workflow Service (SWF) is not a valid subscriber of SNS.
Simple Queue Service (SQS)
  • Doesn’t guarantee FIFO. If required, use sequence numbers in messages.
  • Message delivered at least once.
  • Maximum size per message is 256kb (only text). Billed at 64 KB chunks.
  • Visibility timeout of 2 hours. It starts only after the server starts processing it. This doesn’t allow the messages to be processed by two consumers at the same time. During this timeout period no other consumer can see this message
  • Consumer has to pull the messages. Once done with processing, consumer had to change delete the message.
  • Can work with auto scaling.
  • Message has to be retrieved in 14 days
  • Security tied to IAM.
  • Single client can send or receive 5-50 msgs per second.
  • Possible to receive upto 10 msgs per call.
  • SQS not optimized for high speed message queuing. Once message is posted, it takes several seconds before the message is available to be received.
Simple Workflow Service (SWF)
  • SWF – Simple Workflow Service.
  • Human can participate.
  • Pipeline made of tasks.
  • Actors – Starters, deciders. Activity executor.
  • Retention period if 1 year.
  • Collection of workflows is called domain.
  • Workflows are executed
  • Security tied to IAM.
  • Actors
    • Starters – Starts the workflow
    • Deciders – Control the flow of activity tasks.
    • Activity workers – Carry out tasks.
Cloud search
  • Managed cloud based search solution.
  • Separate endpoint for submitting documents and querying index.
  • Authorization could be made based on ip address
Internet Of Things (IOT)
  • Supports MQTT and HTTP protocol.
  • Had message broker to connect to devices using MQTT protocol Pub/Sub model.
  • Has rules engine

 

Leave a Reply

Your email address will not be published. Required fields are marked *