Other AWS Services Flashcards
What are outposts?
They allow cloud services in your internal data center (on-prem)
Supports Hybrid workloads that need to remain on-prem due to latency or data sovereignty (data residency)
Allows to have access to cloud services and APIs to develop applications on-premises
Classes of outposts
- Outposts Rack
- Outposts Servers
What is Lightsail?
Not on-premises
Launch (in a quick manner) all resources needed for small products
Preconfigured applications such as wordpress websites, small test environments, bundles everything into one low predictable low fees
no free tiering
they can be scaled if needed
AWS batch
Process large amounts of workloads into smaller chunks or batches
for example:
- send out 50K emails at once, batch will send out small group of emails (1k at a time)
Wavelenght
Delivers ultra-low latency apps for devices using 5G networking.
User will be able to reach my apps fast on mobile networks.
You need to select a service to implement a quick deployment of a small temporary test environment. What service can you use to accomplish that?
Lightsail
You need to suggest a service that will allow your data to reside in your data center and support a hybrid deployment model. What can you use to do this?
Outposts
Tight Coupling
Monolithic applications where all the components of an application are interdependent.
The dependencies between the components of an application, and with tightly coupled systems, there are lots of dependencies between the components.
Loose Coupling
Components of the application can operate independently.
One component doesn’t need to wait until another component has finished its work before moving on to the next task.
Data and messages are moved between components of the application.
And a failed or slow component doesn’t affect the other parts of the system.
The other components continue their work unaffected.
SQS
Simple Queue Service
SQS is a message queue service.
A queue is a temporary repository for messages that are awaiting processing.
Messages wait in the queue until the consumer is ready to process them.
SQS is pull-based, and that means that consumers pull messages from the queue when they are ready to process the next message.
Multiple components can add and consume messages from the same queue.
Messages are processed asynchronously, which means that you don’t just sit there and wait for a response because you don’t know how long it’s gonna take for a request to be processed.
And with standard SQS queues, messages are guaranteed to be processed at least once.
Standard queue VS FIFO queue
Standard queue gives you best-effort ordering.
- Messages are delivered at least once.
- You may find that you get occasional duplicates, and it is the default queue type.
FIFO Queue,
- The first-in-first-out message order is strictly preserved.
- Messages are delivered once only with no duplicates.
- And this is great for banking transactions, for example,
which need to happen in a strict order.
Short Polling VS Long Polling
Short polling:
- A response is returned immediately, even if there are no messages in the queue, and there’s a cost associated with each response, even an empty response.
Long polling:
- The consumers periodically poll the queue, and the queue only returns a response when a message has appeared in the queue or the timeout is reached.
This is the most cost-effective option, and it saves you money.
What is SES?
Simple Email Service - SES allows you to send richly formatted HTML emails from your applications.
Think of marketing campaigns, or confirmation of an order.
And don’t get it confused with SNS, the simple notification service that allows you to send or push notifications, for instance, SMS text messages and plain text emails.
So if you want to send basic plain text emails, you can do that with SNS, however, if you’re sending richly formatted HTML emails, use SES.