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 you…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Jorge Tovar

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: "Simple budget example"
Parameters:
  Email:
    Type: String
    Default: email@example.com
    Description: Please enter the email address to which budget notifications should be addressed.
Resources:
  BasicBudget:
    Type: "AWS::Budgets::Budget"
    Properties:
      Budget:
        BudgetLimit:
          Amount: 10
          Unit: USD
        TimeUnit: MONTHLY
        BudgetType: COST
      NotificationsWithSubscribers:
        - Notification:
            NotificationType: ACTUAL
            ComparisonOperator: GREATER_THAN
            Threshold: 99
          Subscribers:
            - SubscriptionType: EMAIL
              Address: !Ref Email
        - Notification:
            NotificationType: ACTUAL
            ComparisonOperator: GREATER_THAN
            Threshold: 80
          Subscribers:
          - SubscriptionType: EMAIL
            Address: !Ref Email
Outputs:
  BudgetId:
    Value: !Ref BasicBudget
  • 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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Jorge Tovar


Print Share Comment Cite Upload Translate Updates
APA

Jorge Tovar | Sciencx (2022-12-30T18:42:09+00:00) Things to keep in mind when starting with AWS. Retrieved from https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/

MLA
" » Things to keep in mind when starting with AWS." Jorge Tovar | Sciencx - Friday December 30, 2022, https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/
HARVARD
Jorge Tovar | Sciencx Friday December 30, 2022 » Things to keep in mind when starting with AWS., viewed ,<https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/>
VANCOUVER
Jorge Tovar | Sciencx - » Things to keep in mind when starting with AWS. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/
CHICAGO
" » Things to keep in mind when starting with AWS." Jorge Tovar | Sciencx - Accessed . https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/
IEEE
" » Things to keep in mind when starting with AWS." Jorge Tovar | Sciencx [Online]. Available: https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/. [Accessed: ]
rf:citation
» Things to keep in mind when starting with AWS | Jorge Tovar | Sciencx | https://www.scien.cx/2022/12/30/things-to-keep-in-mind-when-starting-with-aws/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.