Infraestructura como código

Festival Politraining Industria 4.0

Infraestructura como código

En este nuevo artículo me gustaría explicar que es infraestructura
como código (IAC), pero primero definamos a que nos referimos cuando
hablamos sobre infraestructura.
Cuando hablamos de infraestructura nos referimos en este caso, a un
servidor(vps) , dominios, redes privadas. etc.

Definición

El concepto de infraestructura como código no es más que la forma de
automatización de nuestra infraestructura a través de código .

Puede que tu seas un freelance o trabajes en una compañía, en la que
constantemente se hace deploy de nuevas aplicaciones.
Imagina tener que estar creando un servidor(vps), agregando las llaves
ssh, creando un record A, load balancers, continuar con la instalación y
configuración de nginx ,mysql docker, php, etc. Todo esto cada vez que
tengas que hacer deploy de una nueva aplicación.
Este es un proceso en el que muchas veces se le dedica tiempo
innecesario.

Es por ello que muchas veces, es mejor encontrar o crear una solución para la automatización en este tipo de procesos.

Para poder trabajar o usar infraestructura como código, lo único que
tenemos que hacer es bien, crear nuestro propio script, o bien usar
alguna herramienta de un tercero.

Usualmente cuando trabajamos con infraestructura como código,
independiente de la herramienta que usamos, siempre trabajamos con algún
lenguaje para la descripción de la configuración, pudiendo ser json,
yaml o algún nuevo lenguaje propio del software (domain-specific
language ). dentro del archivo de configuración, es donde definiremos
todo los componentes necesarios para crear nuestra infraestructura,
variando de sintaxis entre los diferentes softwares que podemos usar.

Cabe mencionar que, usualmente este tipo de software nos permite,
configurar a nuestra infraestructura, de una manera muy detallada,
dependiendo del tipo de proveedor que elijamos , por ejemplo, poder
configurar redes privadas, sistema operativo, podemos agregar dominios,
subdominios , agregar nuestra claves ssh, elegir el datacenter etc. Algo
interesante es que, podemos agregar y ejecutar scripts dentro del vps
durante la construcción, esto para poder configurar dentro todo el
software.

Aunque de igual forma, tenemos otro concepto llamado configuración
como código (CaC)
Qué es exactamente el mismo concepto, pero este está orientado a la
configuración del software dentro de la infraestructura(vps), por
ejemplo la instalación y configuración de nginx, docker, ruby etc. Sin
embargo muchas veces los mismos proveedores (IaC) tienen la misma
funcionalidad o su funcionalidad es intercambiable.

Ventajas y desventajas.

Dentro de las ventajas como hemos mencionado es el de elaborar una
plantilla que podemos re-utilizar múltiples veces, eliminando la
necesidad de realizar configuraciones manuales. Esta sería, la principal
y más importante característica de este tipo de software.
Ya que con ello podemos hacer la replicación de la misma configuración,
para diferentes entornos, para testing, QA, producción, desarrollo, etc.

Otra ventaja que podemos encontrar es que usualmente este tipo de
software es del tipo agnóstico lo que quiere decir que no importa, el
proveedor en donde estés configurando nuestra infraestructura, pudiendo
ser digital ocean, amazon web services, azure, e inclusive virtualbox.

Una desventaja que podemos encontrar es quizá el tiempo que le
dedicamos en configurar nuestro archivo de configuración, así mismo, el
tener que modificar el archivo si es que agregamos una nueva tecnología o
configuración a nuestra infraestructura.

Lista de software para IaC y CaC

Debajo vemos una lista con varios de los proveedores de infraestructura y configuración como código más sobresalientes.
Cada uno de ellos comparten cierta similitud, en cuanto a configuración.

  • Terraform
  • Chef
  • Puppet
  • Ansible
  • SaltStack

Conclusión

La automatización es sin duda una de las mejores cosas que podemos
hacer para ahorrar tiempo y muchas veces recursos.
El uso de IaC, dentro de una empresa o de manera independiente trae
muchas ventajas a largo plazo. Este concepto de IaC no es para nada
nuevo, es un concepto de muchos años. De hecho muchos autores. hacen
referencia a que este concepto fue la base de la cual ha surgido toda
esta tendencia del devops.
Espero que este pequeño artículo te haya servido, o te haya incentivado a
investigar más sobre el tema, y tal vez a aprender una nueva
tecnología.

Comments: 31,104

  1. I’m gone to inform my little brother, that he should also pay a visit this weblog on regular basis to
    take updated from newest gossip.

  2. Very good blog! Do you have any hints for aspiring writers?

    I’m hoping to start my own website soon but I’m a little lost on everything.

    Would you recommend starting with a free platform
    like WordPress or go for a paid option? There are so
    many options out there that I’m completely overwhelmed ..

    Any suggestions? Thanks a lot!

  3. If you want to take a good deal from this
    post then you have to apply these methods to your won webpage.

  4. Ramonwhola dice:

    Book of Ra Deluxe slot online Italia: migliori casino online con Book of Ra – Book of Ra Deluxe soldi veri

  5. Greetings! I know this is somewhat off topic but I was wondering
    which blog platform are you using for this website? I’m getting
    tired of WordPress because I’ve had problems with hackers
    and I’m looking at alternatives for another platform.
    I would be awesome if you could point me in the direction of a good platform.

  6. WPS下载 dice:

    Hi there it’s me, I am also visiting this web page daily, this website is actually fastidious and the users are truly sharing pleasant thoughts.

  7. MiltonWhorp dice:

    giocare a Starburst gratis senza registrazione: Starburst slot online Italia – giocare a Starburst gratis senza registrazione

  8. As yoսr kid transitions post-PSLE, secondary school math
    tuition Ƅecomes imрortant to align with Singapore’ѕ
    STEM emphasis.

    You seе leh, Singapore’s math ranking worldwide is alwɑys number οne!

    Fօr households іn Singapore, Singapore math tuition uses peace іn the middle ⲟf academic pressures.
    Secondary math tuition develops fundamental geometry proofs engagingly.
    Ԝith secondary 1 math tuition, yoսr kid gains tһе tools fоr long-lasting math success.

    Secondary 2 math tuition սses bilingual resources.
    Secondary 2 math ttuition supports mom tongue combination. Culturally delicate secondary
    2 math tuition resonates. Secondary 2 math tuition honors variety.

    Secondary 3 math exams аre vital, one year frоm O-Levels, underscoring efficiency.
    Strong outcomes permit exponent rules. Ƭhey cultivate patterned successes.

    Τhe significance ⲟf secondary 4 exams drives ambitiously іn Singapore.
    Secondary 4 math tuition traditions share. Ꭲhis inspiration increases Ο-Level.
    Secondary 4 math tuition drives.

    Ԝhile exams measure retention, math’ѕ real power іs as an indispensable
    skill in booming АI, enabling precise error measurement ɑnd uncertainty handling.

    True math excellence гequires loving mathematics аnd learning to apply іts principles іn real-life daily contexts.

    Ꭲhe practice is impоrtant for cultivating a growth mindset tһrough tackling challenging prоblems
    fгom νarious Singapore secondary schools.

    Online math tuition іn Singapore improves outcomes ѵia e-learning ᴡith VR field trips
    fⲟr math history.

    Yoᥙ know lor, steady ah, secondary school life memorable, ԁⲟn’t
    stress unduly.

    Project-based understanding ɑt OMT turns math іnto hands-on enjoyable, sparking enthusiasm
    іn Singapore trainees fߋr superior test outcomes.

    Dive іnto self-paced mathematics mastery ѡith OMT’s 12-montһ e-learning courses, total
    with practice worksheets and taped sessions fⲟr extensive revision.

    Іn а system wһere math education һaѕ progressed tо foster development ɑnd
    worldwide competitiveness, enrolling іn math tuition maкeѕ sᥙre trainees remain ahead by deepening tһeir understanding and application of crucial ideas.

    primary tuition іs essential fοr building durability versus PSLE’ѕ challenging concerns, ѕuch as those
    on possibility ɑnd easy data.

    Reular mock O Level examinations in tuition setups mimic actual conditions, permitting pupils tօ fine-tune thеir strategy
    and reduce errors.

    Tuition integrates pure аnd applied mathematics perfectly, preparing pupils fօr tһe interdisciplinary nature օf A Level troubles.

    Ꮃhat mаkes OMT remarkable іs its exclusive educational program
    that aligns wіtһ MOE wһile introducing aesthetic
    һelp ⅼike bar modeling іn ingenious wаys f᧐r primary learners.

    Endless access tօ worksheets implies уou exercise tіll shiok,
    improving үouг mathematics self-confidence аnd qualities in a snap.

    Singapore’ѕ incorporated math curriculum benefits
    from tuition tһat connects subjects acroѕs degrees f᧐r natural
    examination readiness.

    Ꭺlso visit my page secondary 1 maths tuition

  9. bandar slot dice:

    I love it whenever people come together and share thoughts.

    Great website, stick with it!

  10. LarryVop dice:

    I truly want to thank you for sharing such straightforward tips on residence upkeep. Often, small fixes can prevent bigger problems later on, and this post highlights that nicely. I combined this information with some [url=https://rja-dom.ru/]straightforward do-it-yourself upkeep tips[/url], which helped me complete several tasks quickly and effectively. Posts of this kind often give me the push I need to take on small but essential tasks I might otherwise delay. When combined with practical examples, tips like these can truly transform the way we approach daily maintenance. I found this perspective quite noteworthy and it made me reflect on similar experiences I’ve had.

  11. bk8 dice:

    Thanks a bunch for sharing this with all folks you really realize what you’re talking approximately!
    Bookmarked. Kindly additionally talk over with my website =).
    We could have a hyperlink alternate agreement among us

  12. AlfredFounc dice:

    https://1win69.com/# preman69 login tanpa ribet

  13. I know this site presents quality depending articles or
    reviews and additional stuff, is there any other website which
    gives these kinds of information in quality?

  14. Hi there colleagues, its wonderful paragraph about tutoringand entirely explained, keep it
    up all the time.

  15. Good info. Lucky me I found your site by accident (stumbleupon).
    I have book marked it for later!

  16. Precisely the same qualities that make the educated gentleman anartist may make an uneducated manual laborer an ablebodied pauper.Thereare men who fall helplessly into the workhouse because they are goodfor nothing; but there are also men who are there because they arestrongminded enough to disregard the social convention (obviously not adisinterested one on the part of the ratepayer) which bids a man liveby heavy and badly paid drudgery when he has the alternative of walkinginto the workhouse,ラブドール アニメ

  17. I visit daily some sites and sites to read content, however
    this webpage provides quality based content.

    https://utrokavkaz.info/

  18. Louiswer dice:

    garuda888 game slot RTP tinggi: garuda888 – 1win888indonesia

  19. I admire and respect you more than I can say.[He is affectedalmost to tears as they shake hands].ラブドール エロ

  20. Remarkable issues here. I am very glad to see your post.

    Thanks so much and I’m taking a look ahead to contact
    you. Will you kindly drop me a mail?

  21. Fascinating blog! Is your theme custom made or did you
    download it from somewhere? A design like yours with a few simple tweeks would really make my blog shine.
    Please let me know where you got your theme.
    With thanks

  22. Hi there! This post couldn’t be written any better!
    Reading through this post reminds me of my previous room mate!
    He always kept chatting about this. I will forward this write-up to him.
    Pretty sure he will have a good read. Thank you for sharing!

  23. almost beside himself with astonishmentand delight,ロボット エロand I met him,

  24. Hello there! Do you use Twitter? I’d like to follow you if that would be okay.
    I’m undoubtedly enjoying your blog and look forward to new
    posts.

  25. Алкогольная зависимость, это серьезная проблема, требующая экспертного вмешательства. Круглосуточная клиника предлагает помощь нарколога, обеспечивая очищение организма и лечение алкоголизма. Симптомы алкогольной зависимости могут варьироваться, от телесной зависимости до психологических расстройств; Медикаментозная detox-программа включает в себя детоксикацию и реабилитацию от алкоголя, что позволяет вернуться к нормальной жизни после запоя. Консультация нарколога помогает определить характер зависимости и выбрать оптимальный метод лечения. Психотерапия при алкоголизме является важным этапом, предоставляя поддержку для зависимых. Анонимное лечение алкоголизма гарантирует конфиденциальность. Нарколог в Туле всегда готов оказать помощь, обеспечивая индивидуальный подход к отдельному пациенту.}

  26. A motivating discussion is definitely worth comment. I think that you should write more about this issue,
    it may not be a taboo subject but typically people do not talk about these topics.
    To the next! Best wishes!!

  27. Hiya very cool blog!! Man .. Excellent .. Amazing ..
    I’ll bookmark your blog and take the feeds also? I am happy
    to seek out numerous helpful info right here within the put up,
    we’d like work out extra techniques in this regard, thanks
    for sharing. . . . . .

  28. masterbat3 dice:

    Hello! I just wish to give you a big thumbs up for the great
    information you’ve got right here on this post. I’ll be coming
    back to your site for more soon.

  29. Ronaldtag dice:

    Выбор металлопроката важнаяключеваязначимая задача для строительства, производства и ремонта. Правильный подбор материаласплаваметалла, размерагабаритовформата и качества оказывает влияние на прочность, долговечность и стоимость изделия.

    Типы металлопроката
    – Листовой металлпрокатлист применяется для оболочек, кровли, корпусов.
    – Арматура употребляется для армирования бетона и несущих конструкций.
    – Трубы необходимы для магистралей, подачи воды, отопления.
    – Балки и швеллеры применяют в каркасных конструкциях.
    – Катанка, проволока, круглый прокат служат для крепежа и мелких деталей.

    Критерии выбора
    1. Предназначение и условия эксплуатации
    – Обусловьте нагрузку, коррозионную среду, температуру, механические воздействия.
    – Для брутальных сред выбирайте нержавеющую сталь или особые покрытия.

    2. Марка и химический состав
    – Изучите обозначения марок (сталь, серебристый металл, медь).
    – Учитывайте содержание углерода, легирующих элементов они оказывают влияние на крепкость и свариваемость.

    3. Механические характеристики
    – Учитывайте прочность на растяжение, предел текучести, ударную вязкость и т.д.
    – Для ответственных конструкций выбирайте сорта с повышенной прочностью и контролируемыми качествами.

    4. Геометрические параметры и допуски
    – Толщина листа, диаметр трубы, длина и профиль проката обязаны подходить проекту.
    – Направьте свой взгляд на допуски и выпуклости поверхности.

    5. Способ защиты и покрытие
    – Гальваническое оцинкование, полимерные покрытия, расцветка защитят от коррозии.
    – Выбор покрытия находится в зависимости от условий эксплуатации и бюджета.

    6. Свариваемость и обработка
    – Некие марки легче поддаются сварке, резке, гибке.
    – По мере надобности контакта с другими материалами проверьте сопоставимость.

    7. Качество и сертификация
    – Просите сертификаты качества, протоколы испытаний, маркировку [url=https://1wum.ru/forum/?PAGE_NAME=profile_view&UID=51087&MUL_MODE=]https://1wum.ru/forum/?PAGE_NAME=profile_view&UID=51087&MUL_MODE=[/url]
    – Инспектируйте наличие промышленных сертификатов и сопроводительных документов.

    8. Цена и доступность
    – Оцените баланс стоимость/качество.
    – Учитывайте логистику, размеры поставки и сроки.

    Практические советы
    – Консультируйтесь с инженером или поставщиком, предоставьте техническое задание.
    – Заказывайте пробную партию для проверки свойств.
    – Закупайте на вырост на сборку и возможный брак.
    – Сопоставляйте несколько предложений и поставщиков по цене, срокам и отзывам.

    Заключение
    Верный выбор металлопроката просит учета предназначения, марки, механических свойств, геометрии, защиты и системе сертификации. Тщательная проверка и консультация со профессионалами посодействуют избежать ошибок и сэкономить средства при эксплуатации.

  30. best hosting dice:

    I blog frequently and I genuinely thank you for your
    content. This great article has really peaked my interest.

    I am going to bookmark your website and keep checking for new
    information about once a week. I opted in for your Feed too.

  31. popn1 dice:

    My brother recommended I may like this website. He was entirely right.
    This put up actually made my day. You can not consider just how much time I had spent
    for this information! Thanks!

  32. All this time I had never let go of the ring-bolt.ラブドール エロMy brother was at the stern,

  33. business dice:

    This is the perfect webpage for anybody who would like to find out about this topic.
    You realize so much its almost hard to argue with you (not
    that I really will need to…HaHa). You certainly put a new spin on a topic which has
    been discussed for decades. Excellent stuff, just wonderful!

  34. Allie dice:

    Hey! Would you mind if I share your blog with my facebook group?
    There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Thank you

  35. […] named ‘primary technique’—a mathematically optimum set of choices for on line casino (please click on Oregonlive) each potential hand—to drastically cut back the home benefit, making it one of many best-value […]

Agrega tu comenatio