title
AWS CloudFormation Tutorial | AWS CloudFormation Demo | AWS Tutorial For Beginners | Simplilearn

description
🔥 AWS Cloud Architect Masters Program (Discount Coupon - YTBE15):https://www.simplilearn.com/aws-cloud-architect-certification-training-course?utm_campaign=23AugustTubebuddyExpCC&utm_medium=DescriptionFF&utm_source=youtube 🔥 IIT Guwahati Professional Certificate Program In Cloud Computing And DevOps (India Only): https://www.simplilearn.com/professional-certificate-program-cloud-computing-devops?utm_campaign=AWS-t97jZch4lMY&utm_medium=DescriptionFirstFold&utm_source=youtube 🔥Caltech Cloud Computing Bootcamp(US Only): https://www.simplilearn.com/cloud-computing-bootcamp-certification-course?utm_campaign=AWS-t97jZch4lMY&utm_medium=DescriptionFirstFold&utm_source=youtube This AWS CloudFormation tutorial will help you understand why do we use AWS CloudFormation, what is CloudFormation, how does AWS CloudFormation work, AWS CloudFormation concepts such as templates and stacks, CloudFormation access control along with a demo on LAMP stack on EC2 instance and at the end, you will also see a use case implementation showing how to create redeployable template. AWS CloudFormation provides users a simple way to create and manage a collection of AWS resources by provisioning and updating them in a predictable way. AWS Cloud formation enables you to manage your complete infrastructure or AWS resources in a text file. Now, lets deep dive into this tutorial and understand what CloudFormation actually is. Below topics are explained in this AWS CloudFormation tutorial: 1. Why use AWS CloudFormation? 2. What is CloudFormation? 3. How does AWS CloudFormation work? 4. AWS CloudFormation concepts - Template in AWS CloudFormation - Stack in AWS CloudFormation 5. CloudFormations access control 6. Demo - LAMP stack on EC2 instance 7. Use case - Create a redeployable template #AWS #WhatIsAWS #AmazonWebServices #AWSTutorial #AWSTraining #CloudComputing #Simplilearn To learn more about AWS, subscribe to our YouTube channel: https://www.youtube.com/channel/UCsvqVGtbbyHaMoevxPAq9Fg?sub_confirmation=1 Download the Cloud Computing Career Guide to explore and step into the extensive world of Cloud, and follow the path towards your dream career- https://www.simplilearn.com/cloud-computing-career-guide-pdf?utm_campaign=AWS-Cloudformation-Tutorial-t97jZch4lMY&utm_medium=Tutorials&utm_source=youtube You can also go through the slides here: https://goo.gl/hgqToL 🔥Explore our FREE Courses: https://www.simplilearn.com/skillup-free-online-courses?utm_campaign=AWS-t97jZch4lMY&utm_medium=Description&utm_source=youtube ➡️ About Post Graduate Program In Cloud Computing This Post Graduate Program in Cloud Computing helps you become an expert in designing, planning, and scaling cloud implementations. Our Cloud Computing course helps you master the core skill sets required to design and deploy dynamically scalable and reliable applications on three popular cloud platform providers: Microsoft Azure, AWS, and GCP. ✅ Key Features - Caltech CTME Post Graduate Certificate - Enrolment in Simplilearn’s JobAssist - Receive up to 30 CEUs from Caltech CTME - Simplilearn's JobAssist helps you get noticed by top hiring companies - Attend Masterclasses from Caltech CTME instructors - Live virtual classes led by industry experts, hands-on projects and integrated labs - Online Convocation by Caltech CTME Program Director - 40+ Hands-On Projects and Integrated Labs - Capstone Project in 4 Domains - Caltech CTME Circle Membership ✅ Skills Covered - Cloud Provider Selection - Application Migration - Performance Testing - Cloud Workloads - Identity Access Management - Autoscaling - Disaster Recovery - Web Services and API - Cloud Migration and Deployment - Database Management - MultiCloud Deployment - Storage Services 👉 Learn More At: https://www.simplilearn.com/pgp-cloud-computing-certification-training-course?utm_campaign=AWS-t97jZch4lMY&utm_medium=Description&utm_source=youtube 🔥🔥 Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688

detail
{'title': 'AWS CloudFormation Tutorial | AWS CloudFormation Demo | AWS Tutorial For Beginners | Simplilearn', 'heatmap': [{'end': 615.439, 'start': 550.379, 'weight': 0.838}, {'end': 833.037, 'start': 750.754, 'weight': 0.729}, {'end': 1205.438, 'start': 1171.402, 'weight': 0.831}, {'end': 1839.951, 'start': 1757.713, 'weight': 0.773}], 'summary': 'This tutorial on aws cloudformation covers infrastructure management, basics, template structure, features, attributes, policies, stack sets, and lamp stack provisioning for efficient application development. it highlights the benefits of cloudformation, such as template reusability and portability, and the management of aws resources as a single unit using cloudformation templates.', 'chapters': [{'end': 447.906, 'segs': [{'end': 108.673, 'src': 'embed', 'start': 85.563, 'weight': 1, 'content': [{'end': 92.526, 'text': 'And with cloud formation, we can actually create a perfect clone of the server configuration at any point in time.', 'start': 85.563, 'duration': 6.963}, {'end': 97.468, 'text': 'And we can also manage the configuration changes and configuration changes.', 'start': 92.906, 'duration': 4.562}, {'end': 102.351, 'text': 'With cloud formation, we can manage the configuration changes across the environment.', 'start': 97.809, 'duration': 4.542}, {'end': 108.673, 'text': 'And not only that, we can easily embed in the ad hoc changes to our existing environment.', 'start': 102.551, 'duration': 6.122}], 'summary': 'Cloud formation allows easy management of server configuration changes and ad hoc changes across environments.', 'duration': 23.11, 'max_score': 85.563, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY85563.jpg'}, {'end': 153.373, 'src': 'embed', 'start': 126.744, 'weight': 7, 'content': [{'end': 132.77, 'text': "Now, at the moment, without the cloud formation or environments that don't use cloud formation have this problem.", 'start': 126.744, 'duration': 6.026}, {'end': 133.311, 'text': 'That is,', 'start': 132.931, 'duration': 0.38}, {'end': 143.782, 'text': 'a lot of time is being spent on building the infrastructure and less focus and less time at the moment is being given on developing that application that runs on that environment.', 'start': 133.311, 'duration': 10.471}, {'end': 148.207, 'text': "That's because majority of the time is consumed by building the environment.", 'start': 143.922, 'duration': 4.285}, {'end': 153.373, 'text': 'And if we need to redeploy the same environment again and again, the same happens in a cycle.', 'start': 148.427, 'duration': 4.946}], 'summary': 'Without cloud formation, infrastructure building consumes most time, hindering application development.', 'duration': 26.629, 'max_score': 126.744, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY126744.jpg'}, {'end': 207.382, 'src': 'embed', 'start': 184.255, 'weight': 0, 'content': [{'end': 196.298, 'text': 'CloudFormation is a service that provides users a simple way to create and manage collection of AWS resources by provisioning and updating them in a very orderly and in a predictable way.', 'start': 184.255, 'duration': 12.043}, {'end': 199.379, 'text': 'If I need to expand the explanation of CloudFormation.', 'start': 196.498, 'duration': 2.881}, {'end': 207.382, 'text': 'CloudFormation is a service that really helps us to model and set up our Amazon web services or resources,', 'start': 199.679, 'duration': 7.703}], 'summary': 'Cloudformation simplifies managing aws resources for users.', 'duration': 23.127, 'max_score': 184.255, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY184255.jpg'}, {'end': 270.41, 'src': 'embed', 'start': 249.46, 'weight': 3, 'content': [{'end': 258.665, 'text': 'So in short, the cloud formation, it allows us to create and model our infrastructure and applications without we having to perform the manual action.', 'start': 249.46, 'duration': 9.205}, {'end': 267.449, 'text': 'For example, the well-known company called Expedia is able to easily manage and run its entire front and back end resources.', 'start': 258.725, 'duration': 8.724}, {'end': 269.47, 'text': 'they run on AWS in the cloud front.', 'start': 267.449, 'duration': 2.021}, {'end': 270.41, 'text': 'What does that mean??', 'start': 269.73, 'duration': 0.68}], 'summary': 'Cloud formation enables easy infrastructure and application management. expedia runs its resources on aws in the cloud front.', 'duration': 20.95, 'max_score': 249.46, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY249460.jpg'}], 'start': 3.2, 'title': "Cloudformation's infrastructure management", 'summary': 'Delves into how cloudformation simplifies infrastructure management, highlighting its purpose, benefits, and use cases. it also discusses the challenges of infrastructure management without cloudformation and emphasizes the reusability and portability of templates for efficient application development.', 'chapters': [{'end': 126.524, 'start': 3.2, 'title': 'Cloud formation: simplifying infrastructure management', 'summary': 'Explains how cloudformation simplifies infrastructure management by providing an overview of its purpose, benefits, and use cases, emphasizing its role in creating and managing aws resources and enabling easy configuration changes.', 'duration': 123.324, 'highlights': ['CloudFormation is an infrastructure as code solution that simplifies managing and maintaining a growing number of AWS products and services. CloudFormation is an infrastructure as code solution that simplifies managing and maintaining a growing number of AWS products and services, easing the burden of creating and managing multiple AWS resources in the portal.', 'CloudFormation allows creating a perfect clone of server configuration and managing configuration changes and environment updates. With CloudFormation, users can create a perfect clone of server configuration at any point in time and manage configuration changes across the environment, providing a practical solution for maintaining and updating AWS resources.', 'CloudFormation enables embedding ad hoc changes to the existing environment and offers a redeployable template use case. CloudFormation facilitates the incorporation of ad hoc changes into the existing environment and provides a valuable use case for creating a redeployable template, demonstrating its flexibility and adaptability in managing AWS resources.']}, {'end': 447.906, 'start': 126.744, 'title': 'Cloudformation: simplifying infrastructure management', 'summary': 'Discusses the challenges of infrastructure management without cloud formation, the benefits of using cloud formation, and the key features of cloudformation, enabling users to spend less time on managing infrastructure and more time on application development, with notable examples, and the reusability and portability of templates.', 'duration': 321.162, 'highlights': ['The majority of time is consumed by building the environment without cloud formation, leading to less time for application development.', "CloudFormation allows users to spend less time on managing resources and more focus on application development, as exemplified by Expedia's success in managing front and back end resources on AWS.", 'CloudFormation enables the creation and modeling of infrastructure and applications without manual intervention, reducing complexity and dependencies between applications.', 'CloudFormation templates are portable and reusable, allowing the creation of similar environments in different regions and facilitating sharing with customers.', 'CloudFormation templates can include all required applications and resources, with sections like parameters, mapping, and conditions making them reusable.']}], 'duration': 444.706, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY3200.jpg', 'highlights': ['CloudFormation simplifies managing and maintaining a growing number of AWS products and services, easing the burden of creating and managing multiple AWS resources.', 'CloudFormation allows creating a perfect clone of server configuration at any point in time and managing configuration changes across the environment, providing a practical solution for maintaining and updating AWS resources.', 'CloudFormation facilitates the incorporation of ad hoc changes into the existing environment and provides a valuable use case for creating a redeployable template, demonstrating its flexibility and adaptability in managing AWS resources.', "CloudFormation allows users to spend less time on managing resources and more focus on application development, as exemplified by Expedia's success in managing front and back end resources on AWS.", 'CloudFormation enables the creation and modeling of infrastructure and applications without manual intervention, reducing complexity and dependencies between applications.', 'CloudFormation templates are portable and reusable, allowing the creation of similar environments in different regions and facilitating sharing with customers.', 'CloudFormation templates can include all required applications and resources, with sections like parameters, mapping, and conditions making them reusable.', 'The majority of time is consumed by building the environment without cloud formation, leading to less time for application development.']}, {'end': 840.759, 'segs': [{'end': 526.061, 'src': 'embed', 'start': 496.548, 'weight': 1, 'content': [{'end': 502.877, 'text': "Together they aid or they complement cloud formation and that's how the resources are provisioned, that's how the resources are managed.", 'start': 496.548, 'duration': 6.329}, {'end': 507.662, 'text': "and that eases the job of the administrator who's managing the environment.", 'start': 503.317, 'duration': 4.345}, {'end': 509.323, 'text': "So let's talk about template first.", 'start': 507.762, 'duration': 1.561}, {'end': 516.811, 'text': 'A template in cloud formation is an text file or a formatted text file in JSON or YAML language,', 'start': 509.604, 'duration': 7.207}, {'end': 526.061, 'text': 'and that the code or the template or the text file that actually describes how your infrastructure looks like or will look like once provisioned.', 'start': 516.811, 'duration': 9.25}], 'summary': "Cloud formation templates aid in provisioning and managing resources, easing administrator's job.", 'duration': 29.513, 'max_score': 496.548, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY496548.jpg'}, {'end': 617.04, 'src': 'heatmap', 'start': 540.18, 'weight': 0, 'content': [{'end': 544.001, 'text': 'But I would recommend the CloudFormation Designer, though, that has rich graphics in it.', 'start': 540.18, 'duration': 3.821}, {'end': 549.863, 'text': 'And these templates are built off or they consist of nine main objects.', 'start': 544.441, 'duration': 5.422}, {'end': 552.802, 'text': 'The first of which is the format version.', 'start': 550.379, 'duration': 2.423}, {'end': 558.228, 'text': 'And this really identifies the capabilities of the template based on the version number.', 'start': 553.082, 'duration': 5.146}, {'end': 562.713, 'text': 'And then the second object in a template would be description.', 'start': 558.568, 'duration': 4.145}, {'end': 567.658, 'text': 'And this helps us to include any arbitrary comments about the template.', 'start': 562.973, 'duration': 4.685}, {'end': 571.783, 'text': "For what reason are we building this template? What's the purpose of it? Stuff like that.", 'start': 567.758, 'duration': 4.025}, {'end': 576.233, 'text': 'And then we have the object called metadata in a template.', 'start': 572.489, 'duration': 3.744}, {'end': 581.779, 'text': 'And that includes details about the template, details of the resources in the template.', 'start': 576.593, 'duration': 5.186}, {'end': 584.462, 'text': 'And then we have the optional parameter section.', 'start': 582.059, 'duration': 2.403}, {'end': 587.425, 'text': 'This really helps us to customize our template.', 'start': 584.762, 'duration': 2.663}, {'end': 594.012, 'text': 'Now, parameters enable us to input custom values to our template each time we create or update and stack.', 'start': 587.565, 'duration': 6.447}, {'end': 596.193, 'text': 'and the mapping object.', 'start': 594.332, 'duration': 1.861}, {'end': 601.094, 'text': 'it helps us to match a key to a corresponding set of named values.', 'start': 596.193, 'duration': 4.901}, {'end': 605.636, 'text': 'for example, if you want to set a value based on region,', 'start': 601.094, 'duration': 4.542}, {'end': 615.439, 'text': 'then we get to create a mapping that uses region name as the key and then the value that we want to specify for each specific regions,', 'start': 605.636, 'duration': 9.803}, {'end': 617.04, 'text': 'and then we have conditions.', 'start': 615.439, 'duration': 1.601}], 'summary': 'Cloudformation designer utilizes 9 main objects, including format version, description, metadata, parameters, and mapping.', 'duration': 76.86, 'max_score': 540.18, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY540180.jpg'}, {'end': 626.731, 'src': 'embed', 'start': 584.762, 'weight': 2, 'content': [{'end': 587.425, 'text': 'This really helps us to customize our template.', 'start': 584.762, 'duration': 2.663}, {'end': 594.012, 'text': 'Now, parameters enable us to input custom values to our template each time we create or update and stack.', 'start': 587.565, 'duration': 6.447}, {'end': 596.193, 'text': 'and the mapping object.', 'start': 594.332, 'duration': 1.861}, {'end': 601.094, 'text': 'it helps us to match a key to a corresponding set of named values.', 'start': 596.193, 'duration': 4.901}, {'end': 605.636, 'text': 'for example, if you want to set a value based on region,', 'start': 601.094, 'duration': 4.542}, {'end': 615.439, 'text': 'then we get to create a mapping that uses region name as the key and then the value that we want to specify for each specific regions,', 'start': 605.636, 'duration': 9.803}, {'end': 617.04, 'text': 'and then we have conditions.', 'start': 615.439, 'duration': 1.601}, {'end': 619.621, 'text': 'object this is again an optional object.', 'start': 617.04, 'duration': 2.581}, {'end': 626.731, 'text': 'With this we can include statements that define when a resource is created or when a property is defined.', 'start': 620.043, 'duration': 6.688}], 'summary': 'Using parameters, mapping objects, and conditions to customize templates for resource creation and property definition.', 'duration': 41.969, 'max_score': 584.762, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY584762.jpg'}, {'end': 833.037, 'src': 'heatmap', 'start': 750.754, 'weight': 0.729, 'content': [{'end': 754.477, 'text': "And let's begin our discussion with the format version.", 'start': 750.754, 'duration': 3.723}, {'end': 758.198, 'text': 'The format version, it really defines the capabilities of the template.', 'start': 754.775, 'duration': 3.423}, {'end': 762.682, 'text': 'The latest version, format version, as of now is the one that was updated on 2010.', 'start': 758.618, 'duration': 4.064}, {'end': 768.127, 'text': 'Now the value of the template, format version, it has to be a string.', 'start': 762.682, 'duration': 5.445}, {'end': 775.213, 'text': "And if we really don't specify the format version, CloudFormation automatically assumes the latest version.", 'start': 768.627, 'duration': 6.586}, {'end': 782.586, 'text': 'Talking about description, descriptions are really any comments that help ourselves that we want to embed in the template itself.', 'start': 775.523, 'duration': 7.063}, {'end': 784.387, 'text': 'That can be a description.', 'start': 783.146, 'duration': 1.241}, {'end': 788.209, 'text': 'And this description in a template, it has to be a string.', 'start': 784.687, 'duration': 3.522}, {'end': 793.411, 'text': 'The length of the string can be between 0 to 124 bytes in length.', 'start': 788.369, 'duration': 5.042}, {'end': 801.6, 'text': 'The metadata are really used in the template to provide any additional information using the JSON and YAML objects.', 'start': 793.651, 'duration': 7.949}, {'end': 810.571, 'text': 'And metadata holds some implementation details of a specific resource and parameters are really a way to customize the template.', 'start': 801.88, 'duration': 8.691}, {'end': 819.373, 'text': 'each time we create or update a stack, these parameters are the ones that helps us to give some custom value to the template during runtime.', 'start': 810.571, 'duration': 8.802}, {'end': 824.414, 'text': 'in the example shown below, the parameter named instance type parameter,', 'start': 819.373, 'duration': 5.041}, {'end': 833.037, 'text': 'it lets us to specify the ec2 instance type for the stacks to use when creating or updating the stack, but default, as we see,', 'start': 824.414, 'duration': 8.623}], 'summary': 'Cloudformation template: format, description, metadata, parameters, 2010 latest version. parameters customize stack values.', 'duration': 82.283, 'max_score': 750.754, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY750754.jpg'}], 'start': 447.906, 'title': 'Cloudformation basics and template structure', 'summary': 'Covers cloudformation basics including the process of using cloudformation, creation of resources, use of templates and stacks, and explains the structure of a cloudformation template with mandatory and optional objects like format version, description, metadata, parameters, mapping, conditions, transform, resource, and output.', 'chapters': [{'end': 562.713, 'start': 447.906, 'title': 'Cloudformation basics', 'summary': 'Explains the process of using cloudformation to create and provision resources, including the use of templates and stacks, and the validation and provisioning process, aiding in easier environment management.', 'duration': 114.807, 'highlights': ['CloudFormation Designer is a recommended tool for creating or modifying templates, providing rich graphics and ease of use. CloudFormation Designer is recommended for creating or modifying templates, providing rich graphics and ease of use.', 'CloudFormation templates consist of nine main objects, including the format version and description, which identify the capabilities and provide a description of the template. CloudFormation templates consist of nine main objects, including the format version and description, which identify the capabilities and provide a description of the template.', 'CloudFormation analyzes and validates the template, then identifies dependencies and starts provisioning the resources in the defined order. CloudFormation analyzes and validates the template, then identifies dependencies and starts provisioning the resources in the defined order.', 'CloudFormation uses templates and stacks as the two major components to create and manage resources, aiding in easier environment management for administrators. CloudFormation uses templates and stacks as the two major components to create and manage resources, aiding in easier environment management for administrators.']}, {'end': 840.759, 'start': 562.973, 'title': 'Cloudformation template structure', 'summary': 'Explains the structure of a cloudformation template, including mandatory and optional objects such as format version, description, metadata, parameters, mapping, conditions, transform, resource, and output, with details on their functions and usage.', 'duration': 277.786, 'highlights': ['CloudFormation template consists of mandatory and optional objects such as format version, description, metadata, parameters, mapping, conditions, transform, resource, and output. The chapter discusses the various mandatory and optional objects that make up a CloudFormation template, providing a comprehensive overview of its structure.', 'Parameters enable customization of the template by allowing input of custom values during stack creation or update. Parameters allow for customization of the template by providing custom values each time a stack is created or updated, enhancing flexibility and adaptability.', "Mapping object is used to match keys to corresponding named values, allowing specification of values based on different conditions such as regions. The mapping object enables the matching of keys to named values, facilitating the specification of values based on different conditions, such as regions, enhancing the template's flexibility and adaptability.", "Conditions object allows for the inclusion of statements that define when a resource is created or when a property is defined, enabling conditional creation of additional resources based on specified conditions. The conditions object permits the inclusion of statements defining when a resource is created or when a property is defined, enabling the conditional creation of additional resources based on specified conditions, enhancing the template's flexibility and adaptability.", 'The transform section specifies one or more transforms that can be used in the CloudFormation template, simplifying template authoring and enabling reuse of template components. The transform section specifies one or more transforms that can be used in the CloudFormation template, simplifying template authoring and enabling reuse of template components, thereby streamlining the template creation process.']}], 'duration': 392.853, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY447906.jpg', 'highlights': ['CloudFormation templates consist of nine main objects, including the format version and description, which identify the capabilities and provide a description of the template.', 'CloudFormation uses templates and stacks as the two major components to create and manage resources, aiding in easier environment management for administrators.', 'Parameters allow for customization of the template by providing custom values each time a stack is created or updated, enhancing flexibility and adaptability.', "The mapping object enables the matching of keys to named values, facilitating the specification of values based on different conditions, such as regions, enhancing the template's flexibility and adaptability.", "The conditions object permits the inclusion of statements defining when a resource is created or when a property is defined, enabling the conditional creation of additional resources based on specified conditions, enhancing the template's flexibility and adaptability."]}, {'end': 1129.551, 'segs': [{'end': 968.419, 'src': 'embed', 'start': 942.557, 'weight': 2, 'content': [{'end': 947.701, 'text': 'For example, in a production environment we might want to include instances with certain capabilities,', 'start': 942.557, 'duration': 5.144}, {'end': 955.448, 'text': 'and in a test environment we might want to include instances with some reduced capability in them for saving money.', 'start': 947.701, 'duration': 7.747}, {'end': 962.013, 'text': 'And condition helps us to sort of create resources based on the environment it will be used in.', 'start': 955.668, 'duration': 6.345}, {'end': 966.517, 'text': 'We can also use intrinsic functions to define conditions like equals.', 'start': 962.314, 'duration': 4.203}, {'end': 968.419, 'text': 'We can also use OR conditions.', 'start': 966.937, 'duration': 1.482}], 'summary': 'Using conditions to create resources based on environment and save money in a test environment.', 'duration': 25.862, 'max_score': 942.557, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY942557.jpg'}, {'end': 1041.3, 'src': 'embed', 'start': 986.344, 'weight': 0, 'content': [{'end': 994.298, 'text': 'now these transform sections are built on a simple declarative language of AWS CloudFormation,', 'start': 986.344, 'duration': 7.954}, {'end': 1000.742, 'text': 'with a powerful macro system that helps us to reuse the templates or the template components.', 'start': 994.298, 'duration': 6.444}, {'end': 1007.707, 'text': 'And they really help us to condense or simplify our codes by enabling reuse of the template components.', 'start': 1001.263, 'duration': 6.444}, {'end': 1013.391, 'text': 'For example, condense a multiple line resource declaration into a single line in our template.', 'start': 1007.747, 'duration': 5.644}, {'end': 1015.172, 'text': 'The resource section.', 'start': 1013.751, 'duration': 1.421}, {'end': 1023.756, 'text': 'it really declares the AWS resource that you want to include in the stack, such as EC2 instance, such as S3 bucket,', 'start': 1015.172, 'duration': 8.584}, {'end': 1029.337, 'text': 'and some of the resource fields are the logical ID, the resource type and the properties.', 'start': 1023.756, 'duration': 5.581}, {'end': 1031.838, 'text': "Let's talk about them in brief.", 'start': 1029.377, 'duration': 2.461}, {'end': 1041.3, 'text': 'The logical ID is unique within the template and the logical ID name it actually reference the resource in other parts of the template.', 'start': 1032.018, 'duration': 9.282}], 'summary': 'Aws cloudformation transform sections simplify codes, enabling reuse of template components, condensing resource declarations, and specifying logical ids, resource types, and properties.', 'duration': 54.956, 'max_score': 986.344, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY986344.jpg'}, {'end': 1114.159, 'src': 'embed', 'start': 1086.316, 'weight': 5, 'content': [{'end': 1093.701, 'text': 'then property section really defines the ami that was used, or ami, as the property of the instance.', 'start': 1086.316, 'duration': 7.385}, {'end': 1107.208, 'text': 'so this section describes the output value that needs to be imported to other stacks or the output value that needs to be shown in the console for the user to easily navigate to the resource that are being created.', 'start': 1093.701, 'duration': 13.507}, {'end': 1114.159, 'text': 'For example, for a S3 bucket name, we can declare an output and once the bucket is created,', 'start': 1107.348, 'duration': 6.811}], 'summary': 'The property section defines the ami used and output values for easy resource navigation.', 'duration': 27.843, 'max_score': 1086.316, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1086316.jpg'}], 'start': 840.879, 'title': 'Aws cloudformation features', 'summary': 'Covers aws cloudformation mapping and conditions, allowing resource mappings based on conditions, and conditional resource creation, enhancing template reusability. it also delves into the syntax, resource declaration, and output values, emphasizing reusability, condensed code, and easy navigation.', 'chapters': [{'end': 966.517, 'start': 840.879, 'title': 'Aws cloudformation mapping and conditions', 'summary': 'Discusses the use of mapping and conditions in aws cloudformation, enabling the creation of resource mappings based on different conditions, and the conditional creation of resources, which allows for efficient template reusability and environment-specific resource creation.', 'duration': 125.638, 'highlights': ['Mapping enables the creation of resource mappings based on different conditions, allowing for efficient template reusability and environment-specific resource creation. Mapping in AWS CloudFormation allows creating a mapping that uses a key to specify values for each region, facilitating the reuse of templates and environment-specific resource creation.', 'The use of conditions in AWS CloudFormation allows for the conditional creation of resources, enabling the evaluation of conditions during stack creation and the creation of resources based on the results. Conditions in AWS CloudFormation include statements that define when a resource is created or when a property is defined, allowing for conditional resource creation based on specified conditions.', "Intrinsic functions can be used to define conditions, such as comparing whether a value is equal to another value, and based on the result of that condition, resources can be created conditionally. Intrinsic functions in AWS CloudFormation, like 'equals', can be utilized to define conditions for the conditional creation of resources based on specified comparisons between values."]}, {'end': 1129.551, 'start': 966.937, 'title': 'Aws cloudformation syntax and resource declaration', 'summary': 'Discusses the syntax of aws cloudformation, including transform sections, resource declaration, and output values, highlighting the benefits of reusability, condensed code, and easy navigation for users.', 'duration': 162.614, 'highlights': ['The transform section in AWS CloudFormation allows the use of powerful macros to condense or simplify code by enabling reuse of template components, such as condensing a multiple line resource declaration into a single line in the template.', 'The resource section in AWS CloudFormation declares the AWS resources to be included in the stack, with fields such as logical ID, resource type, and properties, which allow for easy reference, identification, and specification of additional optional information for the resources.', 'The property section in AWS CloudFormation defines additional optional information for resources, such as specifying the AMI used for an EC2 instance, while the output section describes the output values to be imported to other stacks or shown in the console for easy user navigation.']}], 'duration': 288.672, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY840879.jpg', 'highlights': ['Mapping in AWS CloudFormation enables efficient template reusability and environment-specific resource creation.', 'Conditions in AWS CloudFormation allow for the conditional creation of resources based on specified conditions.', 'Intrinsic functions can be used to define conditions for the conditional creation of resources based on specified comparisons between values.', 'The transform section in AWS CloudFormation allows the use of powerful macros to condense or simplify code by enabling reuse of template components.', 'The resource section in AWS CloudFormation declares the AWS resources to be included in the stack, allowing for easy reference and identification.', 'The property section in AWS CloudFormation defines additional optional information for resources, such as specifying the AMI used for an EC2 instance.', 'The output section in AWS CloudFormation describes the output values to be imported to other stacks or shown in the console for easy user navigation.']}, {'end': 1425.156, 'segs': [{'end': 1217.346, 'src': 'heatmap', 'start': 1171.402, 'weight': 0, 'content': [{'end': 1180.905, 'text': 'There are many resource attributes available out of which we have If we need to name them, we have a creation policy and then we have deletion policy.', 'start': 1171.402, 'duration': 9.503}, {'end': 1185.167, 'text': 'It depends on metadata attribute, update policy attribute.', 'start': 1181.326, 'duration': 3.841}, {'end': 1187.408, 'text': "Let's talk about each of them separately.", 'start': 1185.447, 'duration': 1.961}, {'end': 1190.85, 'text': 'When we associate the create policy attribute with the resource,', 'start': 1187.808, 'duration': 3.042}, {'end': 1197.273, 'text': 'it actually delays the resource configuration actions before proceeding with the stack creation.', 'start': 1190.85, 'duration': 6.423}, {'end': 1205.438, 'text': 'I mean the attribute stack creation is delayed till the time the cloud formation receives some number of success signals back.', 'start': 1197.293, 'duration': 8.145}, {'end': 1215.365, 'text': 'I mean this is a very good use case when we do auto scaling, and this creation policy can be used only with limited number of services,', 'start': 1205.698, 'duration': 9.667}, {'end': 1217.346, 'text': 'like auto scaling and EC2 instances.', 'start': 1215.365, 'duration': 1.981}], 'summary': 'Resource attributes like creation policy delay stack creation until receiving success signals, useful for auto scaling and ec2 instances.', 'duration': 26.496, 'max_score': 1171.402, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1171402.jpg'}, {'end': 1297.596, 'src': 'embed', 'start': 1264.461, 'weight': 1, 'content': [{'end': 1267.162, 'text': 'but if we use an deletion policy,', 'start': 1264.461, 'duration': 2.701}, {'end': 1282.169, 'text': 'we would be able to preserve the data by taking a snapshot of it or just letting the resource and moving on with deleting the other resources in the stack and we specify the delete policy attribute for each resource specifically that we want to control.', 'start': 1267.162, 'duration': 15.007}, {'end': 1289.272, 'text': 'And if there are no deletion policy mentioned for a particular resource, the CloudFormation simply deletes the resources,', 'start': 1282.609, 'duration': 6.663}, {'end': 1291.553, 'text': "as that's its default behavior.", 'start': 1289.272, 'duration': 2.281}, {'end': 1297.596, 'text': 'And if you want to keep the resource when the stack is deleted, we mention retain in the delete policy,', 'start': 1291.793, 'duration': 5.803}], 'summary': 'Deletion policy allows preserving data by taking snapshot or retaining resources when stack is deleted.', 'duration': 33.135, 'max_score': 1264.461, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1264461.jpg'}, {'end': 1353.846, 'src': 'embed', 'start': 1328.808, 'weight': 2, 'content': [{'end': 1335.29, 'text': 'So with the depends on attribute, we can specify that the creation of specific resource is actually followed by another.', 'start': 1328.808, 'duration': 6.482}, {'end': 1338.211, 'text': 'When we add the depends on attribute to a resource,', 'start': 1335.63, 'duration': 2.581}, {'end': 1344.811, 'text': 'the resource is created only after the creation of the resource specified by the depends on attribute.', 'start': 1338.211, 'duration': 6.6}, {'end': 1346.212, 'text': "Let's take this example.", 'start': 1344.991, 'duration': 1.221}, {'end': 1351.804, 'text': "In this example, we're saying that the resource x depends on y.", 'start': 1346.453, 'duration': 5.351}, {'end': 1353.846, 'text': "we've said that x depends on y.", 'start': 1351.804, 'duration': 2.042}], 'summary': "Using 'depends on' attribute ensures resource creation order.", 'duration': 25.038, 'max_score': 1328.808, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1328808.jpg'}], 'start': 1129.551, 'title': 'Cloudformation attributes and policies', 'summary': 'Covers creation policy, deletion policy, and depends on in aws cloudformation, controlling resource behavior and relationships, with examples including delaying resource actions and specifying creation order.', 'chapters': [{'end': 1425.156, 'start': 1129.551, 'title': 'Cloudformation attributes and policies', 'summary': 'Covers the attributes like creation policy, deletion policy, and depends on, which control the behavior and relationships of resources in aws cloudformation, with examples such as delaying resource configuration actions, preserving data during stack deletion, and specifying resource creation order.', 'duration': 295.605, 'highlights': ['Creation Policy attribute delays resource configuration actions before proceeding with stack creation, useful for auto scaling, and can be used with limited services like auto scaling and EC2 instances. The creation policy attribute delays resource configuration actions before proceeding with stack creation, which is useful for auto scaling and can be used with limited services like auto scaling and EC2 instances.', 'Deletion Policy attribute preserves backing up of resources during stack deletion, allowing data retention by taking a snapshot or specifying to retain the resource from getting deleted. The deletion policy attribute preserves backing up of resources during stack deletion, allowing data retention by taking a snapshot or specifying to retain the resource from getting deleted.', 'Depends on attribute specifies the order in which resources are created, ensuring one resource is created only after the creation of another specified resource. The depends on attribute specifies the order in which resources are created, ensuring one resource is created only after the creation of another specified resource.']}], 'duration': 295.605, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1129551.jpg', 'highlights': ['Creation Policy delays resource configuration actions before stack creation, useful for auto scaling and limited services like EC2 instances.', 'Deletion Policy preserves resources during stack deletion, allowing data retention by taking a snapshot or specifying to retain the resource.', 'Depends on attribute specifies the order in which resources are created, ensuring one resource is created only after the creation of another specified resource.']}, {'end': 1746.154, 'segs': [{'end': 1676.582, 'src': 'embed', 'start': 1648.826, 'weight': 0, 'content': [{'end': 1654.07, 'text': 'Stack sets actually has taken the stack level implementation to the next level.', 'start': 1648.826, 'duration': 5.244}, {'end': 1656.912, 'text': 'Using the AWS CloudFormation template,', 'start': 1654.31, 'duration': 2.602}, {'end': 1665.417, 'text': 'we can define a stack set that lets us to create stack in AWS account across the globe by using just a single template.', 'start': 1656.912, 'duration': 8.505}, {'end': 1673.461, 'text': 'And after we create the stack or after the stack set is defined, creating, updating or deleting the stack in the target account,', 'start': 1665.557, 'duration': 7.904}, {'end': 1676.582, 'text': 'and the regions can also be specified by us.', 'start': 1673.461, 'duration': 3.121}], 'summary': 'Aws cloudformation stack sets enable global stack creation using a single template.', 'duration': 27.756, 'max_score': 1648.826, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1648826.jpg'}, {'end': 1755.108, 'src': 'embed', 'start': 1721.89, 'weight': 1, 'content': [{'end': 1724.111, 'text': 'And we can also use service roles.', 'start': 1721.89, 'duration': 2.221}, {'end': 1732.459, 'text': "Service roles are the one that allows AWS CloudFormation to make a call to a resource in a stack on the user's behalf.", 'start': 1724.691, 'duration': 7.768}, {'end': 1740.828, 'text': 'And I can also have stack policies, and these stack policies are applied to the users who already have access to the CloudFormation service,', 'start': 1732.58, 'duration': 8.248}, {'end': 1746.154, 'text': 'and these policies are the ones that help the users who attempt to update the stack.', 'start': 1740.828, 'duration': 5.326}, {'end': 1755.108, 'text': "All right, let's do a quick lab on creating an LAMP stack on an EC2 instance with a local MySQL database for storage.", 'start': 1746.334, 'duration': 8.774}], 'summary': 'Aws cloudformation allows service roles and stack policies to manage user access and updates, as demonstrated in creating an lamp stack with a local mysql database.', 'duration': 33.218, 'max_score': 1721.89, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1721890.jpg'}], 'start': 1425.156, 'title': 'Aws cloudformation and stack sets', 'summary': 'Introduces aws cloudformation, highlighting the management of aws resources as a single unit using cloudformation templates, nested stacks, and stack sets for multi-account and multi-region operations. it also covers access control through iam, service roles, and stack policies.', 'chapters': [{'end': 1746.154, 'start': 1425.156, 'title': 'Aws cloudformation: stacks, templates, and stack sets', 'summary': 'Introduces aws cloudformation and highlights that a stack is a collection of aws resources managed as a single unit, defined by a cloudformation template, and can be nested. it also discusses stack sets, which extend stack functionality to create, update, and delete stacks across multiple accounts and regions in a single operation, and the use of iam, service roles, and stack policies for access control over cloudformation.', 'duration': 320.998, 'highlights': ['A stack is a collection of AWS resources managed as a single unit, defined by a CloudFormation template, and can include resources required to run a web application. The stack can include resources like web server, database server, VPC, network, and security configurations, all defined by the CloudFormation template.', 'Stack sets extend stack functionality by allowing the creation, update, and deletion of stacks across multiple accounts and regions in a single operation. This enables the creation, updating, and deletion of stacks in AWS accounts across the globe using a single template, specifying the target accounts and regions.', "IAM, service roles, and stack policies provide access control over the CloudFormation service, specifying privileged users, enabling CloudFormation to make calls to resources on the user's behalf, and applying policies to users attempting to update the stack. IAM allows specifying privileged users who can create, update, and delete stacks, service roles enable CloudFormation to make calls to resources on the user's behalf, and stack policies control user access during stack updates."]}], 'duration': 320.998, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1425156.jpg', 'highlights': ['Stack sets enable creation, update, and deletion of stacks across multiple accounts and regions.', 'IAM, service roles, and stack policies provide access control over the CloudFormation service.']}, {'end': 2508.224, 'segs': [{'end': 1793.052, 'src': 'embed', 'start': 1765.292, 'weight': 0, 'content': [{'end': 1774.22, 'text': "Now we're talking about automating it, we're talking about provisioning an infrastructure using a code, and CloudFormation helps us to do that.", 'start': 1765.292, 'duration': 8.928}, {'end': 1775.561, 'text': "So this is what we're gonna do.", 'start': 1774.52, 'duration': 1.041}, {'end': 1777.343, 'text': "We're gonna create, or we have,", 'start': 1775.761, 'duration': 1.582}, {'end': 1785.589, 'text': "a CloudFormation template already and we're gonna use that template to provision a web instance And that is going to have look at that.", 'start': 1777.343, 'duration': 8.246}, {'end': 1793.052, 'text': "that's going to have MySQL installed in it, that's going to have PHP, that's going to have HTTPD servers installed in it and running.", 'start': 1785.589, 'duration': 7.463}], 'summary': 'Automating infrastructure provisioning using cloudformation template to deploy web instance with mysql, php, and httpd servers.', 'duration': 27.76, 'max_score': 1765.292, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1765292.jpg'}, {'end': 1850.001, 'src': 'heatmap', 'start': 1757.713, 'weight': 7, 'content': [{'end': 1765.232, 'text': "I can pick an EC2 instance and install the service one top of the other, and that can be done as well, but that's gonna take a lot of time.", 'start': 1757.713, 'duration': 7.519}, {'end': 1774.22, 'text': "Now we're talking about automating it, we're talking about provisioning an infrastructure using a code, and CloudFormation helps us to do that.", 'start': 1765.292, 'duration': 8.928}, {'end': 1775.561, 'text': "So this is what we're gonna do.", 'start': 1774.52, 'duration': 1.041}, {'end': 1777.343, 'text': "We're gonna create, or we have,", 'start': 1775.761, 'duration': 1.582}, {'end': 1785.589, 'text': "a CloudFormation template already and we're gonna use that template to provision a web instance And that is going to have look at that.", 'start': 1777.343, 'duration': 8.246}, {'end': 1793.052, 'text': "that's going to have MySQL installed in it, that's going to have PHP, that's going to have HTTPD servers installed in it and running.", 'start': 1785.589, 'duration': 7.463}, {'end': 1797.573, 'text': "And it's also going to have a PHP website running from it.", 'start': 1793.692, 'duration': 3.881}, {'end': 1805.776, 'text': "So that's going to receive information from the website and that's going to store that information in the database that's very local to it.", 'start': 1797.793, 'duration': 7.983}, {'end': 1810.878, 'text': 'This is the template that defines that environment.', 'start': 1806.957, 'duration': 3.921}, {'end': 1813.694, 'text': 'All right, this is a very simple provisioning.', 'start': 1812.073, 'duration': 1.621}, {'end': 1816.036, 'text': "So let's provision this environment.", 'start': 1813.714, 'duration': 2.322}, {'end': 1817.156, 'text': "Let's create a stack.", 'start': 1816.316, 'duration': 0.84}, {'end': 1826.242, 'text': "We're gonna give a stack name and a database password.", 'start': 1821.219, 'duration': 5.023}, {'end': 1839.951, 'text': 'Right, and which region is it? This is in California, is it? All right.', 'start': 1833.367, 'duration': 6.584}, {'end': 1845.88, 'text': 'Now let me do one thing.', 'start': 1845.1, 'duration': 0.78}, {'end': 1850.001, 'text': 'Let me switch to the Mumbai region or let me switch to North Virginia region.', 'start': 1845.98, 'duration': 4.021}], 'summary': 'Automating infrastructure provisioning using a cloudformation template to create a web instance with mysql, php, httpd servers, and a php website.', 'duration': 37.928, 'max_score': 1757.713, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1757713.jpg'}, {'end': 1961.968, 'src': 'embed', 'start': 1924.003, 'weight': 1, 'content': [{'end': 1925.645, 'text': 'So what can be a password?', 'start': 1924.003, 'duration': 1.642}, {'end': 1937.015, 'text': 'look at that.', 'start': 1936.255, 'duration': 0.76}, {'end': 1948.761, 'text': 'the template is actually creating the resources and here in the screen we can see the template that we use to deploy the environment.', 'start': 1937.015, 'duration': 11.746}, {'end': 1954.584, 'text': 'if you remember, we have we discussed about instant types in parameters.', 'start': 1948.761, 'duration': 5.823}, {'end': 1961.968, 'text': 'right, the default instance type is t2 small, but these are also allowed to run.', 'start': 1954.584, 'duration': 7.384}], 'summary': 'A demonstration of creating resources using a template to deploy an environment with options for instance types.', 'duration': 37.965, 'max_score': 1924.003, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1924003.jpg'}, {'end': 2061.103, 'src': 'embed', 'start': 2008.407, 'weight': 4, 'content': [{'end': 2014.312, 'text': 'Anytime it could not provision or, if there is an interruption, that it could not proceed,', 'start': 2008.407, 'duration': 5.905}, {'end': 2019.677, 'text': 'it would simply roll back and delete all the resources that it had provisioned.', 'start': 2014.312, 'duration': 5.365}, {'end': 2020.778, 'text': "and that's what it did.", 'start': 2019.677, 'duration': 1.101}, {'end': 2022.98, 'text': 'Now let me fix this.', 'start': 2022.099, 'duration': 0.881}, {'end': 2027.203, 'text': 'All right.', 'start': 2027.003, 'duration': 0.2}, {'end': 2032.905, 'text': 'As a fix, I have switched the region because I had some issue with the VPC.', 'start': 2027.363, 'duration': 5.542}, {'end': 2035.606, 'text': "That's going to take time for me to analyze and fix it.", 'start': 2033.385, 'duration': 2.221}, {'end': 2039.487, 'text': "So here we're going to understand about cloud formation.", 'start': 2036.126, 'duration': 3.361}, {'end': 2045.71, 'text': "So I thought I'll run the cloud formation from another VPC that I know is working fine.", 'start': 2039.507, 'duration': 6.203}, {'end': 2046.95, 'text': "That's in North Virginia.", 'start': 2045.89, 'duration': 1.06}, {'end': 2054.02, 'text': "All right, let's provision this LAMP server, which is running out of Linux, which has Apache installed in it,", 'start': 2048.217, 'duration': 5.803}, {'end': 2057.982, 'text': 'which has PHP and MySQL already installed in it.', 'start': 2054.02, 'duration': 3.962}, {'end': 2061.103, 'text': 'So one server gonna act as web and DB server.', 'start': 2058.123, 'duration': 2.98}], 'summary': 'Switched to north virginia region for successful cloud formation, provisioning lamp server with apache, php, and mysql.', 'duration': 52.696, 'max_score': 2008.407, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY2008407.jpg'}, {'end': 2293.683, 'src': 'embed', 'start': 2267.805, 'weight': 2, 'content': [{'end': 2273.627, 'text': 'but they should be able to access the EC2 instance or the data only through the Elastic Load Balancer.', 'start': 2267.805, 'duration': 5.822}, {'end': 2277.829, 'text': "This is a bit complicated than the environment that we've already created.", 'start': 2273.647, 'duration': 4.182}, {'end': 2279.599, 'text': "Let's see how this is done.", 'start': 2278.459, 'duration': 1.14}, {'end': 2280.26, 'text': 'All right.', 'start': 2280.059, 'duration': 0.201}, {'end': 2287.782, 'text': "In this lab, we're going to create elastic load balance to auto scaling group, which is going to create a load balancer and an auto scaling group.", 'start': 2280.36, 'duration': 7.422}, {'end': 2293.683, 'text': 'And that auto scaling group receives traffic only from the load balancer.', 'start': 2288.182, 'duration': 5.501}], 'summary': 'Creating an elastic load balancer for an auto scaling group to manage traffic.', 'duration': 25.878, 'max_score': 2267.805, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY2267805.jpg'}, {'end': 2480.686, 'src': 'embed', 'start': 2455.375, 'weight': 3, 'content': [{'end': 2463.839, 'text': 'And then we discussed or we did a demo LAMP, which provisioned a LAMP stack environment on a Linux instance.', 'start': 2455.375, 'duration': 8.464}, {'end': 2471.922, 'text': 'And then we did a demo on building a complicated environment, which included Elastic Load Balancer, Autoscaling and EC2 instance.', 'start': 2464.059, 'duration': 7.863}, {'end': 2480.686, 'text': 'And that was allowing access to the website only through the load balancer and was restricting access when we access it directly from the instance.', 'start': 2472.123, 'duration': 8.563}], 'summary': 'Demonstrated lamp stack and complex environment with elb, autoscaling, and ec2.', 'duration': 25.311, 'max_score': 2455.375, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY2455375.jpg'}], 'start': 1746.334, 'title': 'Cloudformation for lamp stack provisioning', 'summary': 'Covers provisioning a web instance with a lamp stack including mysql, php, and httpd servers using a cloudformation template, and demonstrates building a complex environment involving elastic load balancer, autoscaling, and ec2 instance.', 'chapters': [{'end': 1879.513, 'start': 1746.334, 'title': 'Provisioning lamp stack with cloudformation', 'summary': 'Covers provisioning a web instance with a lamp stack including mysql, php, and httpd servers using a cloudformation template, and switching between regions for provisioning.', 'duration': 133.179, 'highlights': ['Provisioning a web instance with a LAMP stack The process involves provisioning a web instance with MySQL, PHP, and HTTPD servers using a CloudFormation template.', 'Switching between regions for provisioning The speaker discusses switching between regions such as California, North Virginia, and Mumbai for provisioning the same CloudFormation template.', 'Automating infrastructure provisioning using CloudFormation CloudFormation helps in automating infrastructure provisioning using code, saving time and effort.']}, {'end': 2508.224, 'start': 1879.973, 'title': 'Cloudformation demo and lamp stack provisioning', 'summary': 'Details the process of using cloudformation to provision a lamp stack environment on a linux instance, and then demonstrates building a more complex environment involving elastic load balancer, autoscaling, and ec2 instance, allowing access only through the load balancer and restricting direct access.', 'duration': 628.251, 'highlights': ['The chapter covers the process of using CloudFormation to provision a LAMP stack environment on a Linux instance, along with creating a more complex environment involving Elastic Load Balancer, Autoscaling, and EC2 instance.', 'In the demo, the provisioned LAMP stack environment includes Apache, PHP, and MySQL, with one server acting as both web and DB server.', 'The CloudFormation template is used to deploy the environment, with parameters receiving information like DB name, DB password, DB root password, DB user, instance type, key name, and SSH locations.', 'During the CloudFormation process, if there is an interruption or provisioning failure, it would roll back and delete all the resources that were provisioned.', 'In the more complex environment, direct access to the EC2 instance or the data is restricted, allowing access only through the Elastic Load Balancer.']}], 'duration': 761.89, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/t97jZch4lMY/pics/t97jZch4lMY1746334.jpg', 'highlights': ['Automating infrastructure provisioning using CloudFormation CloudFormation helps in automating infrastructure provisioning using code, saving time and effort.', 'The CloudFormation template is used to deploy the environment, with parameters receiving information like DB name, DB password, DB root password, DB user, instance type, key name, and SSH locations.', 'In the more complex environment, direct access to the EC2 instance or the data is restricted, allowing access only through the Elastic Load Balancer.', 'The chapter covers the process of using CloudFormation to provision a LAMP stack environment on a Linux instance, along with creating a more complex environment involving Elastic Load Balancer, Autoscaling, and EC2 instance.', 'Provisioning a web instance with a LAMP stack The process involves provisioning a web instance with MySQL, PHP, and HTTPD servers using a CloudFormation template.', 'In the demo, the provisioned LAMP stack environment includes Apache, PHP, and MySQL, with one server acting as both web and DB server.', 'During the CloudFormation process, if there is an interruption or provisioning failure, it would roll back and delete all the resources that were provisioned.', 'Switching between regions for provisioning The speaker discusses switching between regions such as California, North Virginia, and Mumbai for provisioning the same CloudFormation template.']}], 'highlights': ['CloudFormation simplifies managing and maintaining a growing number of AWS products and services, easing the burden of creating and managing multiple AWS resources.', 'CloudFormation allows creating a perfect clone of server configuration at any point in time and managing configuration changes across the environment, providing a practical solution for maintaining and updating AWS resources.', 'CloudFormation facilitates the incorporation of ad hoc changes into the existing environment and provides a valuable use case for creating a redeployable template, demonstrating its flexibility and adaptability in managing AWS resources.', "CloudFormation allows users to spend less time on managing resources and more focus on application development, as exemplified by Expedia's success in managing front and back end resources on AWS.", 'CloudFormation templates are portable and reusable, allowing the creation of similar environments in different regions and facilitating sharing with customers.', 'CloudFormation templates can include all required applications and resources, with sections like parameters, mapping, and conditions making them reusable.', 'The majority of time is consumed by building the environment without cloud formation, leading to less time for application development.', 'CloudFormation templates consist of nine main objects, including the format version and description, which identify the capabilities and provide a description of the template.', 'CloudFormation uses templates and stacks as the two major components to create and manage resources, aiding in easier environment management for administrators.', 'Parameters allow for customization of the template by providing custom values each time a stack is created or updated, enhancing flexibility and adaptability.', "The mapping object enables the matching of keys to named values, facilitating the specification of values based on different conditions, such as regions, enhancing the template's flexibility and adaptability.", "The conditions object permits the inclusion of statements defining when a resource is created or when a property is defined, enabling the conditional creation of additional resources based on specified conditions, enhancing the template's flexibility and adaptability.", 'Mapping in AWS CloudFormation enables efficient template reusability and environment-specific resource creation.', 'Conditions in AWS CloudFormation allow for the conditional creation of resources based on specified conditions.', 'Intrinsic functions can be used to define conditions for the conditional creation of resources based on specified comparisons between values.', 'The transform section in AWS CloudFormation allows the use of powerful macros to condense or simplify code by enabling reuse of template components.', 'The resource section in AWS CloudFormation declares the AWS resources to be included in the stack, allowing for easy reference and identification.', 'The property section in AWS CloudFormation defines additional optional information for resources, such as specifying the AMI used for an EC2 instance.', 'The output section in AWS CloudFormation describes the output values to be imported to other stacks or shown in the console for easy user navigation.', 'Creation Policy delays resource configuration actions before stack creation, useful for auto scaling and limited services like EC2 instances.', 'Deletion Policy preserves resources during stack deletion, allowing data retention by taking a snapshot or specifying to retain the resource.', 'Depends on attribute specifies the order in which resources are created, ensuring one resource is created only after the creation of another specified resource.', 'Stack sets enable creation, update, and deletion of stacks across multiple accounts and regions.', 'IAM, service roles, and stack policies provide access control over the CloudFormation service.', 'Automating infrastructure provisioning using CloudFormation CloudFormation helps in automating infrastructure provisioning using code, saving time and effort.', 'The CloudFormation template is used to deploy the environment, with parameters receiving information like DB name, DB password, DB root password, DB user, instance type, key name, and SSH locations.', 'In the more complex environment, direct access to the EC2 instance or the data is restricted, allowing access only through the Elastic Load Balancer.', 'The chapter covers the process of using CloudFormation to provision a LAMP stack environment on a Linux instance, along with creating a more complex environment involving Elastic Load Balancer, Autoscaling, and EC2 instance.', 'Provisioning a web instance with a LAMP stack The process involves provisioning a web instance with MySQL, PHP, and HTTPD servers using a CloudFormation template.', 'In the demo, the provisioned LAMP stack environment includes Apache, PHP, and MySQL, with one server acting as both web and DB server.', 'During the CloudFormation process, if there is an interruption or provisioning failure, it would roll back and delete all the resources that were provisioned.', 'Switching between regions for provisioning The speaker discusses switching between regions such as California, North Virginia, and Mumbai for provisioning the same CloudFormation template.']}