Skip to content

wolfgangfuker/AWSDevOpsProCertification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

AWSDevOpsProCertification

Learning Summary for AWS Certified DevOps Engineer Professional Certification

This isn't an extensive list but covers more topics where I needed to dive deep. A full list of all services can be found in the exam guide: https://d1.awsstatic.com/training-and-certification/docs-devops-pro/AWS-Certified-DevOps-Engineer-Professional_Exam-Guide.pdf

  • CodeBuild
    • Test Reports
      • Can be created inside
      • Need to add a report group name in the buildspec file of a build project.
      • Report expires 30 days after it was created.
      • Want to keep longer as 30 days -> export test results
  • CodePipeline
  • CodeDeploy
    • Service Catalog Deploy Action does NOT exist.
    • Codebuild does not natively integrate with Lambda.
    • In-place Deployment: Rolling update across EC2 instances.
      • Specify number of instances to be taken offline at a time for updates.
    • Blue/Green Deployment - latest application revision is installed on replacement instances. Traffic is rerouted to these instances when you choose either immediately or as soon as you are done testing. For both Codedeploy tracks application health according to rules you configure.
    • Stop and roll back
    • Centralized control
    • Easy to adopt
    • Concurrent deployments
    • Deployment types
      • In-place
        • App on each instance stopped
        • Latest application revision installed
        • New version started and validated
        • Load balance can deregister each instance during deployment and then restore service
        • Only available for EC2/On-Premise compute.
    • The CodeDeployDefault.HalfAtATime deployment configuration ensures that 50% of the instances are available during deployment. By setting Auto Scaling to ELB, you ensure that an instance will be replaced if the Application Load Balancing health check fails.
  • ElasticBeanstalk
    • .ebextensions
      • https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ebextensions.html
      • YAML or JSON formatted documents
      • always need to have file extension .config
      • Uniqueness – Use each key(=sections) only once in each configuration file.
      • sections
        • option_settings
          • Configuration options - let you configure your Elastic Beanstalk environment
        • resources section
          • further customize / add additional AWS resources
        • packages
          • Use the packages key to download and install prepackaged applications and components
        • sources
          • use the sources key to download an archive file from a public URL and unpack it in a target directory on the EC2
        • files
          • use to create files on EC2 instances
          • can either be inline or from a URL
          • For S3 probide instance profile in Authorization
        • users
          • to create Linux/Unix users
        • groups
          • to create Linux/UNIX groups and assigning group IDs
        • commands
          • To execute commands
          • Non-container commands and other customization operations are performed prior to the application source code being extracted.
        • container_commands
          • To execute commands that affect your application source code.
          • Container commands run after the application and web server have been set up and the application version archive has been extracted, but before the application version is deployed.
          • Container commands are run from the staging directory, where your source code is extracted prior to being deployed to the application server. Any changes you make to your source code in the staging directory with a container command will be included when the source is deployed to its final location.
        • services
          • For services which should be started or stopped when instance is launched
    • CloudWatch
    • CloudTrail
      •  You can use CloudTrail to log all API activity in an organization, including root user logins. You can configure an organization trail to ensure that root login activities are captured across all member accounts. Then, you can forward the logs to CloudWatch Logs for analysis.
    • Kinesis Data Stream
      • Enhanced Fan-Out
      • Batch Size
        • Batch size is the maximum number of records in each batch that Lambda pulls from the stream or queue and sends to the function. Lambda passes all the records in the batch to the function in a single call. The payload quota for synchronous invocation is 6 MB. Increasing the batch size will increase the batch windows and then increase the latency.
      • Shards
    • Lambda
    • Service Catalog
      • The use of template constraints at the AWS Service Catalog level minimizes overhead, provides constrained access to the templates for beginners, and provides unconstrained access for experts. Beginners will deploy by using the AWS Service Catalog products with template constraints. Experts will deploy directly by using CloudFormation with no constraints.
      • AWS Service Catalog Template Constraints.
    • Trusted Advisor
      • You can use EventBridge to create a rule that has Trusted Advisor as the event source. The rule can target a Lambda function to delete the IAM access key and can target an SNS topic to provide the notification.
      • Trusted Advisor draws upon best practices learned from serving hundreds of thousands of AWS customers. Trusted Advisor inspects your AWS environment, and then makes recommendations when opportunities exist to save money, improve system availability and performance, or help close security gaps.
      • If you have a Basic or Developer Support plan, you can use the Trusted Advisor console to access all checks in the Service Limits category and five checks in the Security category.
      • If you have a Business, Enterprise On-Ramp, or Enterprise Support plan, you can use the Trusted Advisor console and the AWS Trusted Advisor API to access all Trusted Advisor checks. You also can use Amazon CloudWatch Events to monitor the status of Trusted Advisor checks.
    • Guard Duty
      • Amazon GuardDuty is a threat detection service that continuously monitors, analyzes, and processes AWS data sources and logs in your AWS environment. GuardDuty uses threat intelligence feeds, such as lists of malicious IP addresses and domains, file hashes, and machine learning (ML) models to identify suspicious and potentially malicious activity in your AWS environment. The following list provides an overview of potential threat scenarios that GuardDuty can help you detect:
      • Threat list in GuardDuty
    • WAF
      • https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-awswaf.html
      • AWS Config is requried for the use of Firewall Manager security policies
      • Trusted IP list
        • Trusted IP lists consist of IP addresses that you have trusted for secure communication with your AWS infrastructure and applications. GuardDuty does not generate VPC flow log or CloudTrail findings for IP addresses on trusted IP lists.
      • Threat IP list
        • Threat lists consist of known malicious IP addresses. This list can be supplied by third-party threat intelligence or created specifically for your organization.
      • You can use Firewall Manager to apply AWS WAF rule groups across multiple AWS accounts. Firewall Manager policies for AWS WAF can target entire organizations, specific OUs, or a list of AWS accounts. Firewall Manager policies for AWS WAF can also target ALBs.
    • CodeArtifact
      • https://docs.aws.amazon.com/codeartifact/latest/ug/domains.html
      • CodeArtifact domains make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different AWS accounts. An asset is stored only once in a domain, even if it's available from multiple repositories.
      • Although you can have multiple domains, we recommend a single production domain that contains all published artifacts so that your development teams can find and share packages. You can use a second preproduction domain to test changes to the production domain configuration.
    • CloudFormation StackSets
    • Amazon Data Firehose
    • Amazon Athena
    • ECR
      • ECR repository policies control access to repositories. You can define which IAM users or roles have access to a repository policy, but repository policies do not delete older versions of images.
      • ECR lifecycle policies help manage the lifecycle of images that are pushed to ECR repositories. Lifecycle policies can expire images by using rules that are based on age or count.

About

Learning Summary for AWS Certified DevOps Engineer Professional Certification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published