SlideShare a Scribd company logo
1 of 10
Dynamically Assign Hostname in AWS Autoscaled Instance
By Kamal Maiti
Sr. Subject Matter Expert
Linux System Engineer
Amdocs Development Center, India
Dated : 22nd Feb, 2016
Agenda :
๏‚ง Challenges to set hostname or tag of spawned instance
๏‚ง How we can set hostname, any idea? What we need to consider?
๏‚ง Set temporary hostname, Make permanent hostname
๏‚ง Calling python script from CloudFormation
๏‚ง Understanding python script
๏‚ง Q/A
Dynamically Assign Hostname
๏ฑ Challenges to set hostname or tag to spawned instance
๏‚ง Hostname should be unique
๏‚ง Required for puppet master, DNS and application mapping.
๏‚ง AWS doesnโ€™t have any ready made way to set dynamic
hostname
๏‚ง New machine doesnโ€™t understand which will be its name
๏‚ง How will be sequence number of the new machine
Dynamically Assign Hostname
How we can set hostname, any idea? What we need to consider?
Algorithm :
1. If there is no instance in auto scaled group, pass a initial sequence number to
hostname.
2. If any instance is present, extract sequence number of it and add one to it.
3. Next set this new sequence to the spawned instance.
4. Pass the value to tag as well
5. To avoid race condition among instances, allow them to randomly sleep for few
seconds.
Dynamically Assign Hostname
1. Setup a temporary hostname for first instance/or instances which will be
initially built through CF.
2. Parse hostname and look for sequence number in temporary name. If doesnโ€™t
exist then consider itโ€™ll be first sequence for permanent hostname
Set Initial temporary hostname
Dynamically Assign Hostname
Calling python script from CF
Parameters
Script is called here
Saved hostname
Hostname setup
Dynamically Assign Hostname
less /root/scripts/aws-autoscale-ec2-instance-modify.py
Needed Modules
Function to extract sequence/server
number
Processing arguments
Dynamically Assign Hostname
Get all running Instances:
autoscaling connection object
Ec2 connection object
Extract the correct AS group
Retrieve all instance of AG
Dynamically Assign Hostname
Set Sequence Number
Take a list for saving all name tags
If list is blank, assign default value
Function is called
Next sequence number
Dynamically Assign Hostname
Set hostname in a file and TAG Instance Values those will be
used for hostname
Hostname is built
Setup Name tag to instance
Q/A?

More Related Content

What's hot

๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘
๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘
๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘Amazon Web Services Korea
ย 
AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019Amazon Web Services
ย 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control TowerCloudHesive
ย 
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐ
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐAWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐ
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐAmazon Web Services Korea
ย 
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €Amazon Web Services Korea
ย 
Security hub workshop
Security hub workshopSecurity hub workshop
Security hub workshopRyuhei Shibata
ย 
Aws Autoscaling
Aws AutoscalingAws Autoscaling
Aws AutoscalingKimberly Macias
ย 
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Amazon Web Services
ย 
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...Amazon Web Services Korea
ย 
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...Amazon Web Services
ย 
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...Amazon Web Services Korea
ย 
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽShuji Kikuchi
ย 
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆ
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆAWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆ
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆAmazon Web Services Japan
ย 
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธAWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธAmazon Web Services Korea
ย 
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...Amazon Web Services Korea
ย 
CAF presentation 09 16-2020
CAF presentation 09 16-2020CAF presentation 09 16-2020
CAF presentation 09 16-2020Michael Nichols
ย 
20210309 AWS Black Belt Online Seminar AWS Audit Manager
20210309 AWS Black Belt Online Seminar AWS Audit Manager20210309 AWS Black Belt Online Seminar AWS Audit Manager
20210309 AWS Black Belt Online Seminar AWS Audit ManagerAmazon Web Services Japan
ย 
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †Amazon Web Services Japan
ย 
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถšAmazon Web Services Japan
ย 
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žต
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žตAWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žต
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žตAmazon Web Services Korea
ย 

What's hot (20)

๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘
๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘
๋ณด์•ˆ ์‚ฌ๊ณ  ์˜ˆ๋ฐฉ์„ ์œ„ํ•œ ์ฃผ์š” AWS ๋ชจ๋ฒ” ์‚ฌ๋ก€ โ€“ ์‹ ์€์ˆ˜, AWS ๋ณด์•ˆ ๋‹ด๋‹น ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ:: AWS ์˜จ๋ผ์ธ ์ด๋ฒคํŠธ โ€“ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ํŠน์ง‘
ย 
AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019AWS Core Services Overview, Immersion Day Huntsville 2019
AWS Core Services Overview, Immersion Day Huntsville 2019
ย 
AWS Control Tower
AWS Control TowerAWS Control Tower
AWS Control Tower
ย 
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐ
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐAWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐ
AWS Summit Seoul 2023 | LG์œ ํ”Œ๋Ÿฌ์Šค IPTV ์„œ๋น„์Šค, ๋ฌด์ค‘๋‹จ ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ด์•ผ๊ธฐ
ย 
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €
๋ฐ์ดํ„ฐ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ๋ฐ ์ „์†ก์„ ์œ„ํ•œ AWS ์Šคํ† ๋ฆฌ์ง€ ์„œ๋น„์Šค ํ™œ์šฉ๋ฐฉ์•ˆ - ๋ฐ•์šฉ์„ , ๋ฉ”๊ฐ€์กด ํด๋ผ์šฐ๋“œ ๋งค๋‹ˆ์ €
ย 
Security hub workshop
Security hub workshopSecurity hub workshop
Security hub workshop
ย 
Aws Autoscaling
Aws AutoscalingAws Autoscaling
Aws Autoscaling
ย 
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
Webinar AWS 201 - Using Amazon Virtual Private Cloud (VPC)
ย 
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...
AWS์˜ ๋‹ค์–‘ํ•œ Compute ์„œ๋น„์Šค(EC2, Lambda, ECS, Batch, Elastic Beanstalk)์˜ ํŠน์ง• ์ดํ•ดํ•˜๊ธฐ - ๊น€...
ย 
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking โ€“ Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
ย 
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...
๋ฐ๋ธŒ์˜ต์Šค ์—”์ง€๋‹ˆ์–ด๋ฅผ ์œ„ํ•œ ์‹ ๊ทœ ์šด์˜ ์„œ๋น„์Šค - ๊น€ํ•„์ค‘, AWS ๊ฐœ๋ฐœ ์ „๋ฌธ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ / ๊น€ํ˜„๋ฏผ, ๋ฉ”๊ฐ€์กดํด๋ผ์šฐ๋“œ ์†”๋ฃจ์…˜์ฆˆ ์•„ํ‚คํ…ํŠธ :...
ย 
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ
[AKIBA.AWS] VPNๆŽฅ็ถšใจใƒซใƒผใƒ†ใ‚ฃใƒณใ‚ฐใฎๅŸบ็คŽ
ย 
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆ
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆAWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆ
AWS Black Belt Online Seminar 2017 AWSใธใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๆŽฅ็ถšใจAWSไธŠใฎใƒใƒƒใƒˆใƒฏใƒผใ‚ฏๅ†…้ƒจ่จญ่จˆ
ย 
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธAWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
AWS Control Tower๋ฅผ ํ†ตํ•œ ํด๋ผ์šฐ๋“œ ๋ณด์•ˆ ๋ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค ์„ค๊ณ„ - ๊น€ํ•™๋ฏผ :: AWS ํด๋ผ์šฐ๋“œ ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์˜จ๋ผ์ธ
ย 
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...
AWS ๋น„์šฉ ํšจ์œจํ™”๋ฅผ ๊ณ ๋ คํ•œ Reserved Instance + Savings Plan ์˜ต์…˜ - ๋ฐ•์œค ์–ด์นด์šดํŠธ ๋งค๋‹ˆ์ € :: AWS Game...
ย 
CAF presentation 09 16-2020
CAF presentation 09 16-2020CAF presentation 09 16-2020
CAF presentation 09 16-2020
ย 
20210309 AWS Black Belt Online Seminar AWS Audit Manager
20210309 AWS Black Belt Online Seminar AWS Audit Manager20210309 AWS Black Belt Online Seminar AWS Audit Manager
20210309 AWS Black Belt Online Seminar AWS Audit Manager
ย 
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †
AWS EC2 Eใƒกใƒผใƒซๅˆถ้™่งฃ้™ค - ้€†ๅผ•ใ(rDNS)่จญๅฎš ็”ณ่ซ‹ๆ‰‹้ †
ย 
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš
20200219 AWS Black Belt Online Seminar ใ‚ชใƒณใƒ—ใƒฌใƒŸใ‚นใจAWS้–“ใฎๅ†—้•ทๅŒ–ๆŽฅ็ถš
ย 
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žต
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žตAWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žต
AWS Summit Seoul 2023 | SK์™€ ํ•จ๊ป˜ํ•˜๋Š” AWS Migration Journey & App Modernization ์ „๋žต
ย 

Similar to Automatically assign-hostname to AWS instance

Rapid scaling in_the_cloud_with_puppet
Rapid scaling in_the_cloud_with_puppetRapid scaling in_the_cloud_with_puppet
Rapid scaling in_the_cloud_with_puppetCarl Caum
ย 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentationGlen Ogilvie
ย 
Learning Puppet basic thing
Learning Puppet basic thing Learning Puppet basic thing
Learning Puppet basic thing DaeHyung Lee
ย 
CCF #1: Taking the reins of your data with Hiera 5
CCF #1: Taking the reins of your data with Hiera 5CCF #1: Taking the reins of your data with Hiera 5
CCF #1: Taking the reins of your data with Hiera 5davidmogar
ย 
Symfony finally swiped right on envvars
Symfony finally swiped right on envvarsSymfony finally swiped right on envvars
Symfony finally swiped right on envvarsSam Marley-Jarrett
ย 
AWS Summit Benelux 2013 - Getting Started with AWS
AWS Summit Benelux 2013 - Getting Started with AWSAWS Summit Benelux 2013 - Getting Started with AWS
AWS Summit Benelux 2013 - Getting Started with AWSAmazon Web Services
ย 
Advanced container management and scheduling
Advanced container management and schedulingAdvanced container management and scheduling
Advanced container management and schedulingAmazon Web Services
ย 
Apache Con NA 2013 - Cassandra Internals
Apache Con NA 2013 - Cassandra InternalsApache Con NA 2013 - Cassandra Internals
Apache Con NA 2013 - Cassandra Internalsaaronmorton
ย 
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Amazon Web Services
ย 
Using Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML ModelsUsing Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML ModelsAmazon Web Services
ย 
Build, Train & Deploy ML Models Using SageMaker
Build, Train & Deploy ML Models Using SageMakerBuild, Train & Deploy ML Models Using SageMaker
Build, Train & Deploy ML Models Using SageMakerAmazon Web Services
ย 
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...Amazon Web Services
ย 
Working Effectively With Legacy Perl Code
Working Effectively With Legacy Perl CodeWorking Effectively With Legacy Perl Code
Working Effectively With Legacy Perl Codeerikmsp
ย 
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine YardHow I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine YardSV Ruby on Rails Meetup
ย 
Create a custom AutoNumber source
Create a custom AutoNumber sourceCreate a custom AutoNumber source
Create a custom AutoNumber sourcePLM Mechanic .
ย 
Pwning with powershell
Pwning with powershellPwning with powershell
Pwning with powershelljaredhaight
ย 
Advanced Container Management and Scheduling
Advanced Container Management and SchedulingAdvanced Container Management and Scheduling
Advanced Container Management and SchedulingAmazon Web Services
ย 
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)AnuradhaRaman5
ย 

Similar to Automatically assign-hostname to AWS instance (20)

Rapid scaling in_the_cloud_with_puppet
Rapid scaling in_the_cloud_with_puppetRapid scaling in_the_cloud_with_puppet
Rapid scaling in_the_cloud_with_puppet
ย 
Foreman presentation
Foreman presentationForeman presentation
Foreman presentation
ย 
Learning Puppet basic thing
Learning Puppet basic thing Learning Puppet basic thing
Learning Puppet basic thing
ย 
CCF #1: Taking the reins of your data with Hiera 5
CCF #1: Taking the reins of your data with Hiera 5CCF #1: Taking the reins of your data with Hiera 5
CCF #1: Taking the reins of your data with Hiera 5
ย 
Symfony finally swiped right on envvars
Symfony finally swiped right on envvarsSymfony finally swiped right on envvars
Symfony finally swiped right on envvars
ย 
AWS Summit Benelux 2013 - Getting Started with AWS
AWS Summit Benelux 2013 - Getting Started with AWSAWS Summit Benelux 2013 - Getting Started with AWS
AWS Summit Benelux 2013 - Getting Started with AWS
ย 
Advanced container management and scheduling
Advanced container management and schedulingAdvanced container management and scheduling
Advanced container management and scheduling
ย 
Apache Con NA 2013 - Cassandra Internals
Apache Con NA 2013 - Cassandra InternalsApache Con NA 2013 - Cassandra Internals
Apache Con NA 2013 - Cassandra Internals
ย 
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017Advanced Container Management and Scheduling - DevDay Los Angeles 2017
Advanced Container Management and Scheduling - DevDay Los Angeles 2017
ย 
Using Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML ModelsUsing Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML Models
ย 
Build, Train & Deploy ML Models Using SageMaker
Build, Train & Deploy ML Models Using SageMakerBuild, Train & Deploy ML Models Using SageMaker
Build, Train & Deploy ML Models Using SageMaker
ย 
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...
Bring Your Own Apache MXNet and TensorFlow Scripts to Amazon SageMaker (AIM35...
ย 
Working Effectively With Legacy Perl Code
Working Effectively With Legacy Perl CodeWorking Effectively With Legacy Perl Code
Working Effectively With Legacy Perl Code
ย 
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine YardHow I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
How I Learned to Stop Worrying and Love the Cloud - Wesley Beary, Engine Yard
ย 
Data day2017
Data day2017Data day2017
Data day2017
ย 
Create a custom AutoNumber source
Create a custom AutoNumber sourceCreate a custom AutoNumber source
Create a custom AutoNumber source
ย 
Rmi
RmiRmi
Rmi
ย 
Pwning with powershell
Pwning with powershellPwning with powershell
Pwning with powershell
ย 
Advanced Container Management and Scheduling
Advanced Container Management and SchedulingAdvanced Container Management and Scheduling
Advanced Container Management and Scheduling
ย 
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)
API Testing - The power of libraries (chai, cheerio.js ,lodash and moment.js)
ย 

Recently uploaded

Scaling API-first โ€“ The story of a global engineering organization
Scaling API-first โ€“ The story of a global engineering organizationScaling API-first โ€“ The story of a global engineering organization
Scaling API-first โ€“ The story of a global engineering organizationRadu Cotescu
ย 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
ย 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
ย 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
ย 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
ย 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
ย 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
ย 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
ย 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
ย 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
ย 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
ย 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
ย 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
ย 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
ย 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
ย 
๐Ÿฌ The future of MySQL is Postgres ๐Ÿ˜
๐Ÿฌ  The future of MySQL is Postgres   ๐Ÿ˜๐Ÿฌ  The future of MySQL is Postgres   ๐Ÿ˜
๐Ÿฌ The future of MySQL is Postgres ๐Ÿ˜RTylerCroy
ย 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
ย 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
ย 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
ย 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
ย 

Recently uploaded (20)

Scaling API-first โ€“ The story of a global engineering organization
Scaling API-first โ€“ The story of a global engineering organizationScaling API-first โ€“ The story of a global engineering organization
Scaling API-first โ€“ The story of a global engineering organization
ย 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
ย 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
ย 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
ย 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
ย 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
ย 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
ย 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
ย 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
ย 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
ย 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
ย 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
ย 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
ย 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
ย 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
ย 
๐Ÿฌ The future of MySQL is Postgres ๐Ÿ˜
๐Ÿฌ  The future of MySQL is Postgres   ๐Ÿ˜๐Ÿฌ  The future of MySQL is Postgres   ๐Ÿ˜
๐Ÿฌ The future of MySQL is Postgres ๐Ÿ˜
ย 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
ย 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
ย 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
ย 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
ย 

Automatically assign-hostname to AWS instance

  • 1. Dynamically Assign Hostname in AWS Autoscaled Instance By Kamal Maiti Sr. Subject Matter Expert Linux System Engineer Amdocs Development Center, India Dated : 22nd Feb, 2016 Agenda : ๏‚ง Challenges to set hostname or tag of spawned instance ๏‚ง How we can set hostname, any idea? What we need to consider? ๏‚ง Set temporary hostname, Make permanent hostname ๏‚ง Calling python script from CloudFormation ๏‚ง Understanding python script ๏‚ง Q/A
  • 2. Dynamically Assign Hostname ๏ฑ Challenges to set hostname or tag to spawned instance ๏‚ง Hostname should be unique ๏‚ง Required for puppet master, DNS and application mapping. ๏‚ง AWS doesnโ€™t have any ready made way to set dynamic hostname ๏‚ง New machine doesnโ€™t understand which will be its name ๏‚ง How will be sequence number of the new machine
  • 3. Dynamically Assign Hostname How we can set hostname, any idea? What we need to consider? Algorithm : 1. If there is no instance in auto scaled group, pass a initial sequence number to hostname. 2. If any instance is present, extract sequence number of it and add one to it. 3. Next set this new sequence to the spawned instance. 4. Pass the value to tag as well 5. To avoid race condition among instances, allow them to randomly sleep for few seconds.
  • 4. Dynamically Assign Hostname 1. Setup a temporary hostname for first instance/or instances which will be initially built through CF. 2. Parse hostname and look for sequence number in temporary name. If doesnโ€™t exist then consider itโ€™ll be first sequence for permanent hostname Set Initial temporary hostname
  • 5. Dynamically Assign Hostname Calling python script from CF Parameters Script is called here Saved hostname Hostname setup
  • 6. Dynamically Assign Hostname less /root/scripts/aws-autoscale-ec2-instance-modify.py Needed Modules Function to extract sequence/server number Processing arguments
  • 7. Dynamically Assign Hostname Get all running Instances: autoscaling connection object Ec2 connection object Extract the correct AS group Retrieve all instance of AG
  • 8. Dynamically Assign Hostname Set Sequence Number Take a list for saving all name tags If list is blank, assign default value Function is called Next sequence number
  • 9. Dynamically Assign Hostname Set hostname in a file and TAG Instance Values those will be used for hostname Hostname is built Setup Name tag to instance
  • 10. Q/A?