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: 15,201

  1. The detail in this content is exceptional.

  2. Paul Jones dice:

    Such a beneficial resource.

  3. Joseph Green dice:

    More content pieces like this would make the internet a better place.

  4. Hi, i read your blog occasionally and i own a similar one and
    i was just wondering if you get a lot of spam responses?
    If so how do you stop it, any plugin or anything you can suggest?
    I get so much lately it’s driving me mad so any support is very much appreciated.

  5. awdsjamz dice:

    There are two ways to get a pharmacist technician, getting certified or registered by your state. You might also check out “Physician Assistant Is a Top Healthcare Career. If possible try to use a similar pharmacy just as much as possible.

  6. Pilar dice:

    I read this article fully on the topic of the comparison of most
    up-to-date and preceding technologies, it’s remarkable article.

  7. I found new insight from this.

  8. nrgjjcwh dice:

    By giving your pharmacy the complete name of your medication you’ll be able to better safe guard your health. Before taking any exams required by their state, they must pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English like a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Strong customer care skills can be a must when handling the hectic pace of a pharmacy or pharmaceutical department.

  9. I’m extremely pleased to uncover this page. I want to to thank you
    for your time due to this wonderful read!! I definitely enjoyed every little bit of it and I have you saved
    to fav to see new things in your blog.

  10. Henry Wood dice:

    Thanks for creating this. It’s well done.

  11. The thoroughness in this piece is commendable.

  12. Nolan dice:

    RepairCdDvD is professional information recuperation software program specializing in repairing and improving statistics from damaged or scratched CD and DVD discs. Here are a few key points approximately RepairCdDvD: Features: Information restoration: RepairCdDvD lets in you to recover records from unreadable CD and DVD discs. Record gadget support: this system works with various document structures, such as UDF (usually used for storing information on DVDs). Photo advent: RepairCdDvD reads information from damaged discs and creates an picture report that may be used for statistics restoration. Coping with photo Discs: even if the disc is a extracted, RepairCdDvD can recover information. Other Media support: the program also can get better data from CD/DVD disks. Conversion to ISO format: It allows growing virtual disc copies (ISO pics) for less difficult recuperation inside the destiny. Transportable model: RepairCdDvD is to be had as a transportable version, allowing you to apply it on one of a kind computers without installation. Velocity and convenience: RepairCdDvD offers an intuitive interface and powerful algorithms, making it clean to experiment and get better statistics with out useless complications. In case you need to get better records from CD and DVD discs, RepairCdDvD is a useful device. Its support for various document structures and photograph introduction skills makes it a effective solution for records restoration. No accrued value in case you need more than one kind media or report machine supported. RepairCdDvD is a quite specialized yet smooth to use media facts recuperation device. It supports all disc codecs and all common document structures. Insert a disc, begin up RepairCdDvD and pick the pressure or media (if no longer selected already) and let RepairCdDvD mount the media. RepairCdDvD immediately shows you all the walls or tracks and sessions located on the media, mixed with all report structures which might be gift. This way you get clean access, similar to explorer, to all the files and folders per report device. As opposed to being constrained to one document system that the OS choices for you, you’ve got get admission to. Get entry to records from older periods or hidden partitions, get right of entry to information that your OS (e.G. Home windows) does now not see or hides from you etc. Integrate this all-revealing functionality with some distance higher examine and healing mechanisms, scanning for lost files functionality, workarounds for a wide variety of power and software bugs, boundaries or shortcomings and you’ve got an exceedingly powerful data restoration tool. RepairCdDvD is should-have-software for every pc user and is intentionally stored low-priced a good way to provide a solution for each person.Shape of the medium, facts recording Micrograph of recesses and fields Diagram of a go-phase of a pressed plate A trendy compact disc, often known as an audio CD, stores the digital audio record in a “crimson ebook” preferred to differentiate it from later variations. Compact discs are product of a 1.2 mm thick polycarbonate plate with a diameter of 12 cm, protected with a skinny layer of aluminum (aluminum), wherein information is contained (inside the form of a mixture of micro-grooves and places with out them). They are examine with a semiconductor laser (AlGaAs) with a wavelength of about 780 nm. The recording creates a spiral course from the center to the edge of the document.The rotational speed of the plate is numerous such that the linear velocity of the read head with admire to the song is constant and for the studying pace x1 it’s miles in the range of 1.2 to 1.Four ms. The disc is study from the center to the out of doors, and the rotational speed decreases as you move away from the center of the disc.Before writing to disk, facts is encoded inside the “8 in 14” widespread and stored in the form of land and pits. Inside the embossed plates, the recesses are 1/four wavelength deep within the cloth of the analyzing laser plate (about a hundred twenty five nm), as a result of the interference of light meditated from the environment and the recesses, the wave is extinguished. The pits are 500 nm extensive and the track spacing is 1.6 mm. The variations in light reflection are utilized by the lens servo to manual the beam along the route and focus it.The “8 in 14” coding machine guarantees that the smallest pit and land length is three bits (833 nm) and the longest 11 bits (3560 nm) WebSite: https://repaircddvd.com

  13. If some one wishes to be updated with most up-to-date technologies
    therefore he must be pay a quick visit this web site and be
    up to date all the time.

  14. Thanks for posting. It’s top quality.

  15. mba Malaysia dice:

    It’s a shame you don’t have a donate button! I’d most certainly donate
    to this brilliant blog! I suppose for now i’ll settle for bookmarking and adding
    your RSS feed to my Google account. I look forward to fresh updates
    and will share this website with my Facebook group. Chat soon!

  16. It’s wonderful that you are getting ideas from this paragraph
    as well as from our discussion made at this place.

  17. Henry Wilson dice:

    I gained useful knowledge from this.

  18. I am extremely impressed with your writing skills as well
    as with the layout on your weblog. Is this a paid theme or did you
    customize it yourself? Anyway keep up the excellent quality
    writing, it is rare to see a great blog like this one
    these days.

  19. klacnh dice:

    The moon sheds her subtle impact on all of this, adding to the variables. College pre-pharmacy study as little as being a day or two and can still pass the exam. So as being a buyer, you may need to identify a geniune online pharmacy that is certainly licensed and sells only Food and Drug Administration (FDA) approved medicines.

  20. Such a practical bit of content.

  21. Joker Merah dice:

    You ought to be a part of a contest for one of the finest sites online.
    I most certainly will recommend this website!

    https://ww5.jokermerah.city/

  22. Thanks for publishing. It’s well done.

  23. Hi, all the time i used to check blog posts here in the early hours in the
    morning, as i like to find out more and more.

  24. eqbotf dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. As a little entrepreneur, just when was it time to improve prices like Netflix. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.

  25. Myrtis dice:

    RepairCdDvD is professional information recuperation software program specializing in repairing and improving statistics from damaged or scratched CD and DVD discs. Here are a few key points approximately RepairCdDvD: Features: Information restoration: RepairCdDvD lets in you to recover records from unreadable CD and DVD discs. Record gadget support: this system works with various document structures, such as UDF (usually used for storing information on DVDs). Photo advent: RepairCdDvD reads information from damaged discs and creates an picture report that may be used for statistics restoration. Coping with photo Discs: even if the disc is a extracted, RepairCdDvD can recover information. Other Media support: the program also can get better data from CD/DVD disks. Conversion to ISO format: It allows growing virtual disc copies (ISO pics) for less difficult recuperation inside the destiny. Transportable model: RepairCdDvD is to be had as a transportable version, allowing you to apply it on one of a kind computers without installation. Velocity and convenience: RepairCdDvD offers an intuitive interface and powerful algorithms, making it clean to experiment and get better statistics with out useless complications. In case you need to get better records from CD and DVD discs, RepairCdDvD is a useful device. Its support for various document structures and photograph introduction skills makes it a effective solution for records restoration. No accrued value in case you need more than one kind media or report machine supported. RepairCdDvD is a quite specialized yet smooth to use media facts recuperation device. It supports all disc codecs and all common document structures. Insert a disc, begin up RepairCdDvD and pick the pressure or media (if no longer selected already) and let RepairCdDvD mount the media. RepairCdDvD immediately shows you all the walls or tracks and sessions located on the media, mixed with all report structures which might be gift. This way you get clean access, similar to explorer, to all the files and folders per report device. As opposed to being constrained to one document system that the OS choices for you, you’ve got get admission to. Get entry to records from older periods or hidden partitions, get right of entry to information that your OS (e.G. Home windows) does now not see or hides from you etc. Integrate this all-revealing functionality with some distance higher examine and healing mechanisms, scanning for lost files functionality, workarounds for a wide variety of power and software bugs, boundaries or shortcomings and you’ve got an exceedingly powerful data restoration tool. RepairCdDvD is should-have-software for every pc user and is intentionally stored low-priced a good way to provide a solution for each person.Shape of the medium, facts recording Micrograph of recesses and fields Diagram of a go-phase of a pressed plate A trendy compact disc, often known as an audio CD, stores the digital audio record in a “crimson ebook” preferred to differentiate it from later variations. Compact discs are product of a 1.2 mm thick polycarbonate plate with a diameter of 12 cm, protected with a skinny layer of aluminum (aluminum), wherein information is contained (inside the form of a mixture of micro-grooves and places with out them). They are examine with a semiconductor laser (AlGaAs) with a wavelength of about 780 nm. The recording creates a spiral course from the center to the edge of the document.The rotational speed of the plate is numerous such that the linear velocity of the read head with admire to the song is constant and for the studying pace x1 it’s miles in the range of 1.2 to 1.Four ms. The disc is study from the center to the out of doors, and the rotational speed decreases as you move away from the center of the disc.Before writing to disk, facts is encoded inside the “8 in 14” widespread and stored in the form of land and pits. Inside the embossed plates, the recesses are 1/four wavelength deep within the cloth of the analyzing laser plate (about a hundred twenty five nm), as a result of the interference of light meditated from the environment and the recesses, the wave is extinguished. The pits are 500 nm extensive and the track spacing is 1.6 mm. The variations in light reflection are utilized by the lens servo to manual the beam along the route and focus it.The “8 in 14” coding machine guarantees that the smallest pit and land length is three bits (833 nm) and the longest 11 bits (3560 nm) WebSite: https://repaircddvd.com

  26. The thoroughness in this piece is exceptional.

  27. I found new insight from this.

  28. ujbyszgk dice:

    It is essential to note that not every pharmacy technician receives this kind of low wage which when in private pharmacies, it is almost certainly that one turns into a wage of $17 hourly minimum. The pharmacist technician should have the prepared prescription, reviewed with a pharmacist, before dispensing or submitting the completed order to some patient or customer. Cocci are sphere-shaped bacteria and include streptococci, which can be chains of cocci bacteria, and staphylococci, which are clusters of cocci bacteria1.

  29. tk88 dice:

    Hi there, I do think your site could be having browser compatibility problems.
    When I take a look at your blog in Safari, it looks fine however, when opening in Internet Explorer, it has
    some overlapping issues. I just wanted to give you a quick heads up!
    Other than that, great site!

  30. I truly admired the way this was written.

  31. 비아그라는 발기부전 치료제로 널리 사용되고 있지만, 온라인 비아그라 구매를 통해 구매할 때에는 각별한 주의가 필요합니다.

  32. Briantop dice:

    Для оформления личной медицинской книжки необходимо пройти медицинский осмотр [url=https://dentaleclinic.ru/]квалифицированная помощь в оформлении медкнижки[/url]

  33. slot toto dice:

    Fastidious replies in return of this matter with real arguments and telling everything concerning that.

  34. «ترس و لرز» اثر برجسته سورن کی یرکگور، فیلسوف دانمارکی، به بررسی عمیق وحشت و اضطراب ابراهیم در مواجهه با فرمان الهی برای
    قربانی کردن پسرش اسحاق می پردازد.

    این کتاب با تحلیل مفاهیم پیچیده ای چون
    تعلیق غایت مند اخلاق و پارادوکس ایمان، جایگاه فرد در برابر امر مطلق را به چالش می کشد
    و یکی از دشوارترین و تاثیرگذارترین آثار او در فلسفه اگزیستانسیالیسم است که تحت نام
    مستعار یوهانس دو سیلنتیو
    نگاشته شده.

    https://hillbilly.ir/tag/کتاب/

  35. Hi! Would you mind if I share your blog with my zynga group?
    There’s a lot of folks that I think would really appreciate your content.

    Please let me know. Thanks

  36. You’ve obviously researched well.

  37. Ian Thompson dice:

    I absolutely admired the manner this was written.

  38. More content pieces like this would make the web more useful.

  39. jepangbet dice:

    Thanks gan infonya! Btw, gua nemu situs slot yang beneran gacor: jepangbet.life,
    dia pake server Asia Gacor dan winrate-nya sampe 88%. Wajib dicoba buat yang mau cuan harian!

  40. I do not even know the way I ended up right here, however I thought this post was once great.
    I don’t recognize who you are however certainly you’re going to a famous blogger if you are not already.

    Cheers!

  41. Mark Lewis dice:

    I found new insight from this.

Responder a porcnlw Cancelar respuesta