Infrastructure as Code DEMO - AWS CloudFormation, Ansible & Jenkins working together

preview_player
Показать описание
In this demo, we cover:

- Infrastructure as Code (#IaC)
- AWS #CloudFormation, #Ansible & Jenkins
- How to use these code based tools to bring up and configure an infrastructure according to your requirements without any manual intervention

#####################################################
HOW TO GET benefited from KNOWLEDGEINDIA to learn AWS
#####################################################

#AWS #Videos to learn in #EASY & #PRACTICAL manner:

------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++

++++++++++++++++++++++++++++++++++++++++++++++++

We try our best to answer most of the COMMENTS within 24 hours. Please write your appreciation/feedback below.

++++++++++++++++++++++++++++++++++++++++++++++++
Рекомендации по теме
Комментарии
Автор

Very informative ..please keep creating such videos

Gabhane
Автор

where can i have look onto the files used to configure the systems?I found them very helpful .so please if u can provide the files, it would be very helpful of you.thanks

niharikabariar
Автор

would you able to share the link for that cloudformation template?

arig
Автор

Nice demo but of no use. You made almost everything ready which other will never understand. But I like your other videos, Bro !!!

mahendrarajgude
Автор

how were the multiple instances launched using the template? I tried creating a template with easy understanding, but could not succeed.
kindly help me with the below one.


---
AWSTemplateFormatVersion: "2010-09-09"
Description: "Test Cloud Formation"

Parameters:
KeyName:
Description: Select the key name from the list
Type: AWS::EC2::KeyPair::KeyName

InstanceCount:
Description: Number of instances to Launch
Type: Number
Default: 1
MinValue: 1
MaxValue: 3
ConstraintDescription: Value must be between 1 and 3

InstanceType:
Description: "EC2 Instance Type"
Type: String
Default: "t2.micro"
AllowedValues:
- "t2.nano"
- "t2.micro"
- "t2.small"
- "t2.medium"
- "t2.large"

AvailabilityZone:
Description: Select the Availability Zone from the List
Type:

SecurityGroupsId:
Description: The list of SecurityGroupIds in your Virtual Private Cloud (VPC)
Type:

SubnetId:
Description: Select Subnet from the list.
Type: List<AWS::EC2::Subnet::Id>

AMIID:
Description: Enter the AMI Id.
Type: AWS::EC2::Image::Id

InstanceName:
Description: Type comma-separated list of the instance name
Type: String

Conditions:
Launch1: !Equals [!Ref InstanceCount, '1']
Launch2: !Equals [!Ref InstanceCount, '2']
Launch3: !Equals [!Ref InstanceCount, '3']

Resources:
EC2Instance1:
Type: AWS::EC2::Instance
Condition: Launch1
Properties:
AvailabilityZone: !Select [0, !Ref AvailabilityZone]
ImageId: !Ref AMIID
InstanceType: !Ref InstanceType
KeyName: !Ref KeyName
SecurityGroupIds: !Select [0, !Ref SecurityGroupsId]
SubnetId: !Select [0, !Ref SubnetId]
Tags:
- Key: "Name"
Value: !Select [0, !Split [", ", !Ref InstanceName]]
Tenancy: default

EC2Instance2:
Type: AWS::EC2::Instance
Condition: Launch2
Properties:
AvailabilityZone: !Select [1, !Ref AvailabilityZone]
ImageId: !Ref AMIID
InstanceType: !Ref InstanceType
KeyName: !Ref KeyName
SecurityGroupIds: !Select [0, !Ref SecurityGroupsId]
SubnetId: !Select [1, !Ref SubnetId]
Tags:
- Key: "Name"
Value: !Select [1, !Split [", ", !Ref InstanceName]]
Tenancy: default

EC2Instance2:
Type: AWS::EC2::Instance
Condition: Launch3
Properties:
AvailabilityZone: !Select [2, !Ref AvailabilityZone]
ImageId: !Ref AMIID
InstanceType: !Ref InstanceType
KeyName: !Ref KeyName
SecurityGroupIds: !Select [0, !Ref SecurityGroupsId]
SubnetId: !Select [2, !Ref SubnetId]
Tags:
- Key: "Name"
Value: !Select [2, !Split [", ", !Ref InstanceName]]
Tenancy: default

pranavdhopey
Автор

hi KI, waiting for code..hope it can be shared?

theamitdost
Автор

Could you share that cloud formation script?

sharma
Автор

can i know the git-repo here for cloudformation code ??? wer can i get this?

santyvs
Автор

nice video and explanation...waiting for code..

theamitdost
Автор

Can we have the AWS Cloudformation script.

melissaaranha
Автор

The session is very valuable. But very confusing. I decided to take membership to learn .. however, I have these to be clarified?
1 Is this membership is for one year or
2 forever or
3 can we discontinue at the time ?
I am from Canada ? can we able to take advantage of KI in Canada?

francisbandi
Автор

you could have shown that jenkins configuration before building it

mohammedjavid