{"id":387,"date":"2022-02-09T15:00:27","date_gmt":"2022-02-09T15:00:27","guid":{"rendered":"https:\/\/192.168.1.3\/wordpress\/?p=387"},"modified":"2024-12-20T03:45:32","modified_gmt":"2024-12-20T03:45:32","slug":"aws-solution-architect-associate-saac02-review-material-devops-and-other-services","status":"publish","type":"post","link":"https:\/\/mylinuxsite.com\/wordpress\/?p=387","title":{"rendered":"AWS Solution Architect Associate (SAA-C02) Review Material \u2013 DevOps and Other Services"},"content":{"rendered":"\n<!--more Continue READING-->\n\n\n\n<h4 class=\"wp-block-heading\"><strong>CloudFormation<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Components<\/strong><ol><li>Resources &#8211; declare the AWS resources to deploy (Mandatory)<\/li><li>Parameters &#8211; input values<\/li><li>Mappings &#8211; static variables<\/li><li>Outputs &#8211; a reference to what was created <\/li><li>Conditional <\/li><li>Transform &#8211; include code snippets outside your template<\/li><li>Meta Data<\/li><\/ol><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Template Helpers<\/strong><ul><li>Functions<\/li><li>References<\/li><\/ul><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Stacks<\/strong><ul><li><strong>Stack Set<\/strong> &#8211; For multi-account and cross-region deployments.  <\/li><li><strong>Nested Stacks <\/strong>&#8211;  make the process of updating stacks easier.<\/li><\/ul><\/li><li><strong>cfn-init<\/strong><ul><li>Helper script must be installed<\/li><li>Needs to be called from within the EC2 instance<\/li><li>The call will query the Meta-Data &#8216;AWS::CloudFormation::Init&#8217; block which defines the script that will be executed.<\/li><\/ul><\/li><li><strong>cfn-signal:<\/strong><ul><li>Signals CloudFormation to indicate whether Amazon EC2 instances have been successfully created or updated.&nbsp;<\/li><li>Helper script must be installed<\/li><li>Run after cfn-init<\/li><li>Sends a signal to a <strong>WaitCondition<\/strong> whether an action is a success or fail.<\/li><li>Requires a <strong>WaitCondition<\/strong> (Defines success or failure) with <strong>CreationPolicy<\/strong> <\/li><li>EC2 requires internet access.<\/li><\/ul><\/li><li><strong>CreationPolicy:<\/strong><ul><li>Prevent a resource status from reaching create complete until AWS CloudFormation receives a specified number of success signals or the timeout period is exceeded.&nbsp;<\/li><li>Requires cfn-signal to signal a resource<\/li><\/ul><\/li><li><strong>UpdatePolicy<\/strong><ul><li>Specify how AWS CloudFormation handles updates on some resources:<\/li><li>3 Update Policies:<ol><li>&nbsp;<code>AutoScalingReplacingUpdate<\/code><\/li><li>AutoScalingRollingUpdate<\/li><li>AutoScalingScheduledAction<\/li><\/ol><\/li><\/ul><\/li><li><strong>DeletionPolicy<\/strong><ol><li>Retain<\/li><li>Backup &#8211; Only apply to DBs (Default for DB)<\/li><li>Delete (Default for all except DB)<\/li><\/ol><\/li><li><strong>StackPolicies:<\/strong><ul><li>After you set a stack policy, all of the resources in the stack are protected by default. To allow updates on specific resources, you specify an explicit&nbsp;<code>Allow<\/code>&nbsp;statement for those resources in your stack policy.<\/li><li>A stack policy applies only during stack updates.&nbsp;<\/li><\/ul><\/li><li><strong>TerminationProtection:<\/strong><ul><li>Prevent a stack from being deleted.<\/li><li>If enabled, must be disabled if stack is needed to be deleted.<\/li><\/ul><\/li><li><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Code Commit<\/strong><\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">OpsWorks<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Managed Chef and Puppet<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">AppSync<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Manage service for developing GraphQL APIs<\/li><li>GraphQL APIs built with AWS AppSync give front-end developers the ability to query multiple databases, microservices, and APIs from a single GraphQL endpoint.&nbsp;<\/li><li>Use cases:<ul><li>Automatically synchronize data between mobile\/web applications and the cloud&nbsp;<\/li><li>IoT Dashboard<\/li><li>Real-time Chat<\/li><\/ul><\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Step Function &amp; SWF (Simple Work Flow)<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Both are used for <strong>workflow<\/strong><\/li><li>Step Function is new and prefered than SWF except if the workflow requires human intervention\/<\/li><li>Step Function <ul><li>has a visual tool to design the flow.  And the flow is represented as a JSON <strong>state machine<\/strong>.<\/li><li>common use cases are to orchestrate: (1) micro-services (lambda), (2) ETL, &amp; (3) machine learning.<\/li><\/ul><\/li><li>The maximum execution time is 1 year.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">AWS Backup<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Fully managed backup service<\/li><li>Works across the region and across the account<\/li><li>Backup consists of a <ul><li>a <strong>Backup Plan<\/strong> with <\/li><li>one more <strong>Backup Rule<\/strong><\/li><li>backing up one or more <strong>Resources<\/strong> (e.g. EFS, EBS)<\/li><li>Resources can include: 1) all in the account, 2) specific resources or 3) based on a tag.<\/li><\/ul><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[11],"tags":[],"class_list":["post-387","post","type-post","status-publish","format-standard","hentry","category-aws-review-notes"],"_links":{"self":[{"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=387"}],"version-history":[{"count":21,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions"}],"predecessor-version":[{"id":1401,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/387\/revisions\/1401"}],"wp:attachment":[{"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mylinuxsite.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}