Skip to main content

AWS services in a nutshell

AWS is a very powerful platform for your enterprise application. Do you wonder how to navigate through it? I've learned a wide range of topics and I just made it simple for you. Let's dive in.

Fundamentals

EC2: your physical server on the cloud.
EBS: your physical hard drive attached to EC2.
VPC: your private network in the cloud. A VPC spans all availability zones in a region.
Lambda: Execution tool triggered by the event, the "compute power".
Elastic Beanstalk: an orchestration service to deploy a web application in one click.

Storage & Content delivery

S3: Storage/File system for objects.
S3 Glacier: Cheaper storage solution for infrequently accessed files, e.g. log file.
DynamoDB: NoSQL DB with flexibility and scalability.
RDS: Relational DB management.
Redshift: Data warehouse for Big data, usually stores historical data. e.g. Redshift stores orders in the last 10 years. RDS stores orders within 1 year. It leverages machine learning to achieve fast queries. Data stored in S3.
CloudFront: a global content delivery network compatible with origin source such as: S3, Elastic Load Balancing, EC2, Lambda@Edge, AWS Shield, or non-AWS services. It offers the security setting as well.

Security

Shield: Your safeguard against DDoS (or Distributed Denial of Service) attack. You get the standard version "out of the box".
WAF: Web Application Firewall. Guard against SQL injections, cross-site scripting. It also can protect services not hosted on AWS through CloudFront.You can present an error page through CloudFront when the request is blocked.
IAM: Identify & Access management. You can use it to configure the access permission for a user/group to your AWS account, server, or applications.

Network & Elasticity

Route 53: Cloud DNS service. It's an address translation service used by servers around the globe.
EC2 Auto Scaling: Adding or removing EC2 instance based on your definition and the monitoring of  the EC2 instances. Work with Simple Messaging System to notify you about the change.
Elastic Load Balancing: Balance load between two or more servers. Provide redundancy. It also add more servers to the pool if one server starts having issues or bottlenecks. It works with EC2 instances, containers, IP addresses, and Lambda functions.

Messaging & Containers

SNS: Simple Notification Service. Messaging service sending notifications to users. It works in the publish/subscribe model. The subscriber could be a person or other AWS service such as: Amazon SQS queues, AWS Lambda functions, and HTTP/s webhooks.
SQS: Simple Queue Service. Typically used for system-to-system messaging. A message queuing service enables the asynchronous response. FIFO SQS deliver msg only once and in exact order. Standard SQS  processes msg deliver msg with best-effort ordering but no guarantee.
ECS: Elastic Container Service. An orchestration service for containers. It works well with Docker to launch/stop, autoscaling, and querying the status of your application.

AWS Management

CloudTrail: Provides the history of activities in your account in the last 90 days, whether it is from AWS management console, SDK, command-line tools, or other AWS services.
CloudWatch: Monitors resources and applications on AWS, collecting data in forms of logs, metrics, events. You can use it to set up triggers to other AWS resources. For instance, every time a EC2 is lanching, CloudWatch can give an update to an SNS topic, the subscriber of that topic will be notified.
Cloud Formation: AWS Infrastructure as Code service. It allows you to provision AWS resources based on the scripts you write and easier version control.
AWS Command Line Interface(CLI): Access and control AWS service running in your AWS account from command line.


Comments

Popular posts from this blog

Rib eye with shrimp paste

 6tbsp veg oil 1 1/4 lb bone in rib eye (1 1/2" thick) yu choy or bok choy halved lenghtwise if large 2 scallions, cut into 1'' pieces 2 garlic cloves, crushed 1 lemongrass stalk, tough outer layer removed, chopped 3'' piece ginger sliced 1/2 cup shrimp paste or crab paste 1. meidum high heat, oil grill grate + large cast-iron skillet on grill steak + salt + pepper, + 1tbsp oil rub to coat 2. bok choy in large bowl, drizzle 1tbsp oil over and season with salt. toss 3. grill steak on grate until deeply browned, 2 min per side 4. heat 4tbsp oil in skillet, cook scallions, garlic, lemongrass, giner, stir, until fragrant and starting to brown, about 1 min. Stir in shrimp paste 5. when shrimp mixture is bubbling, transfer steak to skillet. Cook. Turn every few mins, until medium rare, thickest part 125 degree. about 7 mins transfer steak to cutting borad, let rest 10 mins, set skillet with sauce aside 6. Grill boy choy, turning occas. until wilted and charred in spots, ...

Daikon And Grilled Chicken

  1. Cut radishes into quarters if smaller or into ½" pieces if larger + salt, pepper + 6 sliced scallions 2/ 2 Tbsp white wine vinegar + 1 Tbsp. prepared horseradish + 2 tsp. Dijon mustard 1/4 cup extra-virgin olive oil put half of the vinaigrette into the radish mixture 3/ 2 boneless chicken breasts, pound out to about 1/4'' thick. + salt and pepper on both sides 3 Tbsp. extra-virgin olive oil in skillet medium-high heat press down chicken firmly for good contact, 5 mins undisturbed, golden brown on one side turn over, 2 mins on the other side 4/ transfer chicken breast to vinaigrette, let sit 5 minutes Transfer to a clean cutting board cut crosswise into 4 or 5 pieces + radish salad

Seafood Boil

  2tbsp veg oil 1 3'' piece ginger finely grated 2 garlic cloves, finely grated 1/4 cup yello miso 2tbsp rice vinegar 2tbsp mirin 3tbsp soy sauce 1/2 tsp kosher salt 4tbsp butter 2tsp old bay seasoning or shichimi 3 baby sweet potatoes 1 lb mussles 2 ears of corn, quartered crosswise 4 scallions, separate, dark green, white and pale green, finely chopped 8oz green beans, trimmed 1 lb shell-on extra large shrimp lime wedges 1/  heat veg oil in medium heat + ginger and garlic, stir often, until slightly golden, 1 min quickly whisk in miso, gradually + vinegar, mirin, soy sauce, salt and 3 cups water, whisk until no lumps remain. Increase heat if needed to maintain a simmer whisk in butter, 2tsp shichimi/old bay seasoning. As soon as butter metled, reduce heat as needed to maintain a simmer 2/ + sweet potatoes, cover pot, cook unitl potatoes are just tender, 8-10mins using a slotted spoon, transfer sweet potatoes to a large platter 3/ + mussels, cover, cook utnil opened, 1-2 minu...