Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Things to keep in mind when starting with AWS
Jorge Tovar
Jorge Tovar

Posted on

     

Things to keep in mind when starting with AWS

Applications in the Cloud are reliable, and in some cases even cheaper than on-premises, but we all have made a lot of mistakes when started with AWS.

Cost Optimization

First and one of the most important tips to keep in mind:

  • Monitor your AWS costs by setting billing alerts & automate everything

CloudFormation template

---AWSTemplateFormatVersion:"2010-09-09"Description:"Simplebudgetexample"Parameters:Email:Type:StringDefault:email@example.comDescription:Please enter the email address to which budget notifications should be addressed.Resources:BasicBudget:Type:"AWS::Budgets::Budget"Properties:Budget:BudgetLimit:Amount:10Unit:USDTimeUnit:MONTHLYBudgetType:COSTNotificationsWithSubscribers:-Notification:NotificationType:ACTUALComparisonOperator:GREATER_THANThreshold:99Subscribers:-SubscriptionType:EMAILAddress:!RefEmail-Notification:NotificationType:ACTUALComparisonOperator:GREATER_THANThreshold:80Subscribers:-SubscriptionType:EMAILAddress:!RefEmailOutputs:BudgetId:Value:!RefBasicBudget
Enter fullscreen modeExit fullscreen mode
  • Tag everything

Performance Efficiency

  • Use Serverless Architectures as much as possible
  • Store no application state
  • Log useful information and enable traceability

Reliability

  • Scale-out is better in most of the cases

Security

  • Create an IAM user for your AWS account.
  • Enable MFA in all your AWS users
  • Grant roles to EC2, applications should not have AIM accounts
  • Assign privileges to groups and not directly to the users

Operational Excellence

  • Leverage Infrastructure as Code: Terraform, CDK or even CloudFormation
  • Make things easy to rollback

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Software Architect | 🚀 Startups | ☁️ AWS Cloud
  • Location
    Bogotá, Colombia
  • Education
    Universidad de los Andes, Colombia
  • Work
    Software Architect
  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp