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: 29,538

  1. coupon dice:

    You ought to take part in a contest for one of the highest quality websites on the
    net. I am going to highly recommend this web site!

  2. You possibly can make issues less scary by locating a good
    attorney.

  3. cheap hotels dice:

    Excellent blog! Do you have any tips and hints for aspiring writers?
    I’m hoping to start my own blog soon but I’m a little lost on everything.
    Would you propose starting with a free platform like WordPress or go for a paid option? There are
    so many choices out there that I’m totally overwhelmed ..
    Any tips? Bless you!

  4. It’s awesome to pay a visit this website and reading the views of all friends regarding this piece of writing, while I
    am also zealous of getting knowledge.

  5. Hello would you mind sharing which blog platform you’re working with?
    I’m planning to start my own blog soon but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for something completely unique.
    P.S My apologies for getting off-topic but I had to ask!

  6. Peculiar article, totally what I needed.

  7. It’s a complete program that lets students accomplish a lot with their knowledge.

    my page … http://Www.backtrailfamily.Com

  8. I am not sure where you’re getting your info, but great topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for wonderful info I was looking for this information for my
    mission.

  9. yed69x.com dice:

    I savour, lead to I found just what I was taking a look for.
    You have ended my 4 day lengthy hunt! God Bless you man.
    Have a great day. Bye

  10. I see something truly special in this internet site.

    my web-site – Fit Today Keto Review

  11. There are a number of sorts of massage, such as
    hot stone, deep tissue, and sports massages.

    Also visit my website :: how do Swedish massage

  12. Asking questions are in fact fastidious thing if you are not understanding something completely, but this paragraph offers good understanding even.

  13. Right now it seems like Movable Type is the best blogging platform
    out there right now. (from what I’ve read) Is that what you’re
    using on your blog?

  14. 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 design. Thanks a
    lot

  15. info dice:

    Fantastic beat ! I wish to apprentice even as
    you amend your website, how can i subscribe for a weblog website?
    The account aided me a appropriate deal. I have been tiny bit acquainted of this your broadcast provided bright
    clear idea

  16. If some one needs expert view concerning blogging and site-building afterward i recommend him/her to visit this web site, Keep up the pleasant work.

  17. 腳輪 dice:

    Hi, i feel that i noticed you visited my blog thus i came to
    go back the favor?.I’m attempting to find issues to improve my website!I guess its ok
    to use a few of your ideas!!

  18. UFABET คือ เว็บเล่นบาคาร่าสุดยอดเว็บพนัน อัพเดทใหม่ที่สุด เว็บพนันออนไลน์ บาคาร่า เกมส์ไพ่ยอดฮิต เว็บแทงบอลออนไลน์ อัพเดทเวอร์ชั่นใหม่ที่สุดสมัครวันนี้ รับ VIP ตลอดชีพ ฝาก-ถอนไม่มีขั้นต่ำ และฝาก-ถอนระบบใหม่ที่ทันสมัยที่สุด “ทำรายการด้วยระบบอัตโนมัติ เพียง 10 วินาที ที่เร็วที่สุดในตอนนี้ โอนปุ๊บเครดิตเข้าปั๊บ” ทันสมัยดีที่สุดกว่าทุกเว็บที่ท่านเคยสัมผัสมาอย่างแน่นอน เราเป็นเว็บไซต์ที่มั่นคง ปลอดภัย และให้บริการทุกระดับชั้น ให้บริการมาแล้วมากกว่า 5
    ปี บาคาร่า เดิมพันขั้นต่ำเพียง 20 แทงบอล เริ่มต้นที่ 10 บาท สเต็ป
    2 คู่ขึ้นไปสูงสุด 12 คู่ สล็อตยูฟ่าเบท เริ่มต้นเพียง 1 บาท
    เราเป็นเว็บพนันออนไลน์อันดับ 1 ที่ให้บริการ คาสิโนออนไลน์อย่างครบครัน แทงบอล หวย มวย ไก่ชน บาคาร่า ครบจบในเว็บเดียว ไม่ต้องเสียเวลาไปที่ปอยเปต แค่มีมือถือก็เล่นได้ ถูกเป็นล้านก็จ่ายไม่มีข้อแม้ใดๆ

  19. I will right away snatch your rss as I can’t find your
    e-mail subscription link or e-newsletter service. Do
    you’ve any? Please let me know so that I could subscribe.
    Thanks.

    Feel free to visit my web page – Glucodyn Review

  20. Aw, this was an exceptionally nice post. Finding
    the time and actual effort to make a great article?
    but what can I say? I put things off a whole lot and don’t seem to get nearly anything done.

    Also visit my web page :: Skylo Drone Review

  21. I’m not sure why but this site is loading incredibly slow for me.

    Is anyone else having this problem or is it a problem on my end?
    I’ll check back later on and see if the problem still exists.

  22. hello there and thank you for your info – I have certainly picked
    up something new from right here. I did however expertise a few technical issues using this site, as I experienced to
    reload the site lots of times previous to I could get it
    to load properly. I had been wondering if your hosting is OK?
    Not that I am complaining, but slow loading instances
    times will sometimes affect your placement in google and could damage your quality score if advertising and
    marketing with Adwords. Anyway I am adding this RSS to my email and can look out
    for a lot more of your respective intriguing content. Ensure that you update this again soon.

  23. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your blog posts.
    Any way I’ll be subscribing to your feeds and even I achievement you access consistently quickly.

  24. It is the best time to make some plans for the future and it’s time to be happy.
    I have learn this submit and if I may just I desire to counsel you some attention-grabbing issues or tips.
    Maybe you could write next articles relating to this article.

    I want to read more issues approximately it!

  25. Article writing is also a fun, if you be familiar with after that you can write
    otherwise it is complex to write.

    Feel free to visit my homepage Total Health ACV + Keto

  26. There is apparently a bunch to identify about this. I think you made some nice points in features also.

  27. Hello there I am so grateful I found your site, I really found you by error, while I was browsing on Yahoo for something else, Anyhow I am here now and
    would just like to say kudos for a tremendous post and a all round
    enjoyable blog (I also love the theme/design), I don’t have
    time to read it all at the minute but I have bookmarked it and
    also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the great work.

  28. It’s genuinely very complex in this active life to listen news
    on Television, so I only use world wide web for that reason,
    and obtain the most up-to-date information.

  29. topics dice:

    Hi, its good paragraph on the topic of media print, we all understand media
    is a wonderful source of data.

  30. part-time job at a bar FNU, we exemplify the caring behaviors we hope to bring to the wider healthcare system.

  31. The formal gender equality was established hundred years ago with equal universal suffrage.

    Feel free to visit my web blog: women’s basketball coaching jobs

  32. Pretty nice post. I just stumbled upon your weblog and wanted to mention that I’ve truly loved
    browsing your weblog posts. After all I will be
    subscribing on your rss feed and I’m hoping you write once more very soon!

  33. coupon dice:

    I just like the helpful information you provide for your articles.
    I will bookmark your weblog and test once more here frequently.
    I am relatively sure I’ll be told a lot of new stuff proper here!

    Best of luck for the following!

  34. Although Pc gross sales are slumping, pill computers could be just getting started.
    But hackintoshes are notoriously difficult to construct, they
    can be unreliable machines and also you can’t expect to get
    any technical support from Apple. Deadlines are a good way that can assist you get stuff accomplished and crossed off your checklist.
    In this paper, we’re the primary to make use of multi-task sequence labeling model
    to sort out slot filling in a novel Chinese E-commerce dialog
    system. Aurora slot automobiles may very well be obtained from online websites comparable to eBay.

    Earlier, we talked about utilizing websites like eBay to sell stuff that you
    don’t want. The reason for this is easy: Large carriers,
    significantly those who promote smartphones or other merchandise,
    encounter conflicts of interest if they unleash Android in all its
    universal glory. After you’ve used a hair dryer for some time, you’ll find a considerable amount of
    lint constructing up on the surface of the
    display screen. Just imagine what it would be wish to
    haul out poorly labeled bins of haphazardly packed holiday supplies in a
    final-minute attempt to search out what you need.
    If you possibly can, make it a priority to mail issues out
    as rapidly as attainable — that may assist you to keep
    away from litter and to-do piles around the home.

    Here is my homepage :: เครดิตฟรี

  35. Everything is very open with a clear explanation of the issues.
    It was truly informative. Your website is very helpful.
    Many thanks for sharing!

    My page … slot wallet ทุกค่าย

  36. I always was interested in this topic and stock
    still am, thank you for putting up.

    Stop by my web page Revivanze Vitamin C Review

  37. Wow, that’s what I was looking for, what a data!
    present here at this web site, thanks admin of this web site.

    Visit my web page … สล็อตเว็บไหน แตก ดี 2022

  38. Madeleine dice:

    Register a new account and you can bag a 150% deposit match deal worth as a
    great deal as $1,500.

    My blog post; Madeleine

  39. freecredit dice:

    ATM skimming is like identification theft for debit cards: Thieves
    use hidden electronics to steal the personal info stored
    on your card and document your PIN number to access all that hard-earned cash in your account.
    If ATM skimming is so serious and high-tech now, what dangers
    can we face with our debit and credit playing cards sooner
    or later? Mobile credit card readers let customers make a digital swipe.
    And, as security is all the time an issue in relation to
    sensitive bank card data, we’ll discover among the accusations that rivals have
    made towards different merchandise. If the motherboard has onboard video, try to take away the
    video card completely and boot utilizing the onboard
    model. Replacing the motherboard generally requires changing the heatsink and
    cooling fan, and could change the type of RAM your laptop needs,
    so you might have to perform a little research to see what components you will
    have to purchase in this case.

    Also visit my blog; freecredit

  40. Desmond dice:

    Personalize your card and then select e mail or print delivery.

    Feel free to visit my blog – vegas oonline casino (Desmond)

  41. I consider something genuinely interesting about your web blog so I saved to fav.

    My website :: Feel Good Daily CBD

  42. This page certainly has all of the information I needed about this subject and didn’t know who to ask.

  43. MINDWAYV dice:

    I blog often and I seriously thank you for your content.
    The article has truly peaked my interest.
    I am going to bookmark your blog and keep checking for
    new details about once per week. I opted in for your RSS feed too.

  44. Spot on with this write-up, I absolutely think this website needs a lot more attention.
    I’ll probably be returning to read through more, thanks for the
    advice!

  45. I’m not sure exactly why but this website is loading extremely slow for me.
    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later and see if the problem still exists.

  46. 130904 dice:

    Good post. I learn something totally new and challenging on blogs I
    stumbleupon everyday. It will always be helpful to
    read through content from other authors and practice a little
    something from other web sites.

  47. I’m no longer positive where you’re getting your information, but great topic.
    I needs to spend a while learning more or understanding more.

    Thank you for excellent info I was searching for this information for my mission.

  48. I think the admin of this website is actually working hard in favor of his website, for the reason that here every material is quality based stuff.

  49. And because the director in animation, you profit from that power of character and that curiosity, that people who work in animation have.

Responder a Java Burn Cancelar respuesta