Skip to main content

What is EC2 Image Builder? Explain with features


What is EC2 Image Builder?


Amazon Elastic Compute Cloud Image Builder is a fully managed AWS service that makes it easier to automate the creation, management, and deployment of customized, secure, and up-to-date “golden” server images that are pre-installed and pre-configured with software and settings to meet specific IT standards.

The images you build are created in your account and you can configure them for operating system patches on an ongoing basis.



What is EC2 Image Builder?  Explain with features



So what are basic features ?


Features:


1- Basically Image Builder reduces the amount of work involved in creating and managing images at scale by automating your build pipelines. You can automate your builds by providing your build execution schedule preference

2- Using built-in integrations with AWS Organizations, Image Builder enables you to enforce policies that restrict accounts to run instances only from approved AMIs.


Image Builder supports Amazon Linux & Windows Server 2019/2016/2012 R2 operating systems & Supported Image Formats are existing AWS AMI & EBS snapshot.
Concepts using in Image Builder:

Let’s take a look on basic terminology used in Image Builder service.


1st Basic concept we are using is AMI(Amazon Machine Image).


AMI: As we know about AMI, An Amazon Machine Image (AMI) is the basic unit of deployment in Amazon EC2. An AMI is a pre-configured VM image that contains the OS and pre-installed software to deploy EC2 instances.



2nd Concept is little bit new i.e Image Pipeline.

Image Pipeline:
An image pipeline is the automation configuration for building secure OS images on AWS. The Image Builder image pipeline is associated with an image recipe(will describe in next point) that defines the build, validation, and test phases for an image build lifecycle.

Image Recipe:
An Image Builder image recipe is a document that defines the source image and the components to be applied to the source image to produce the desired configuration for the output image.

Source Image:
The source image is the selected image and OS used in your image recipe document along with the components.

Build Components:
Build components are orchestration documents that define a sequence of steps for downloading, installing, and configuring software packages.

Document: A declarative document( input to a configuration management application) that uses the YAML format to list the execution steps for build, validation, and test of an AMI on an instance.


How EC2 Image Builder Works, and How Image Builder Works




When you use the Image Builder console to create a golden image, you will go through the following steps. Let’s check the above picture step by step.

Select source image. You select a source OS image, for example, an existing AMI or an Amazon EBS snapshot.

Create image recipe. You add components to create an image recipe for your image pipeline. Components are the building blocks that are consumed by an image recipe, for example, packages for installation, security hardening steps, and tests. The selected OS and components make up an image recipe.

Output. Image Builder creates an OS image in the selected output format.

Distribute. You distribute your image to selected AWS Regions after it passes tests in the image pipeline.


USE Cases of EC2 Image Builder



  • Automate build and maintenance of images


EC2 Image Builder significantly reduces the effort required to create and maintain images across hybrid IT environments without the need to write and maintain automation code. Customers create an automated pipeline using an intuitive wizard interface in the AWS console to build, update, and validate Linux and Windows Servers images. When software updates become available, Image Builder automatically produces a new image.



  • Increase image quality with automated validation

With EC2 Image Builder you can easily catch errors before using your images in production. You can validate your images for functionality, application compatibility, and security compliance with AWS-provided tests, AWS Inspector, and your own tests before using them in production.

  • Enforce consistent policies in heterogeneous environments


EC2 Image Builder enables consistency in heterogeneous environment by ensuring specific updates are installed, security settings are turned on, and tests are run on the image. Image Builder also has version control for easy revision management and sharing of automation scripts, recipes, and images across organizations. Through policy enforcement, automation, and sharing, consistency is achieved.














Comments

Popular posts from this blog

What is STP? - Explain Advantages and Disadvantages

The Spanning Tree Protocol is a network protocol that builds a loop-free logical topology for Ethernet networks. The basic function of STP is to prevent bridge loops and the broadcast radiation that results from them. STP is a protocol. It actively monitors all links of the network. To finds a redundant link, it uses an algorithm, known as the STA (spanning-tree algorithm). The STA algorithm first creates a topology database then it finds and disables the redundant links. Once redundant links are disabled, only the STP-chosen links remain active. If a new link is added or an existing link is removed, the STP re-runs the STA algorithm and re-adjusts all links to reflect the change. STP (Spanning Tree Protocol) automatically removes layer 2 switching loops by shutting down the redundant links. A redundant link is an additional link between two switches. A redundant link is usually created for backup purposes. Just like every coin has two sides, a redundant link, along with

How to Reset Steam Password? – Recover Your Steam Password

Are you suffering with Reset Steam Password? This blog will help you. What is Steam? Steam is the online website for getting the best games for paid. If you are a true game lover then you should have an active account on Steam. Many of people lost their password during the  PC clean-up  or any other circumstances. At that time they have to reset Password of all accounts. Then if you facing issues with the password, you forced to Steam reset password to access the Steam account. We are going to share the guide that how to recover your forgotten Steam Password and make your existing account ready. First of all, you should have enough knowledge about what is Steam and why Steam Account required? Why Steam Account Requires? Before jump into password recovery and Login details, let me clear about why Steam Account required? There are several benefits of this Steam Account from where you can easily download PC games as well as software. Though it will be paid, you