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,384

  1. I really enjoyed the style this was presented.

  2. petir33 dice:

    magnificent post, very informative. I ponder why the opposite specialists
    of this sector don’t realize this. You should proceed
    your writing. I am confident, you’ve a great readers’ base already!

  3. Peggie 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

  4. I particularly liked the approach this was laid out.

  5. Hi there to every body, it’s my first visit of this webpage; this weblog consists of awesome and really good material designed for visitors.

  6. tfziua dice:

    Most physiologists required a Ph – D degree and licensing. Important point to get noticed is always that cost can’t always be the first consideration. An individual that finds work within this profession can be considered a radiology technician if his competency qualifies him to execute work using x-ray, ultra-sound, CAT or ECG equipment that delivers the doctors with scanned images how the latter make use of as bases because of their diagnoses.

  7. More content pieces like this would make the online space more useful.

  8. I truly enjoyed the manner this was written.

  9. lwhugi dice:

    The certification does play a crucial role in making a rewarding career being a PT because it helps in making one more qualified after they apply for promotion. The above image shows that a secure protocol ( is being used from the fraudster. They also can check with doctors to authorize refills, and enter drug information to the computer.

  10. Anónimo dice:

    Ich war anfangs kritisch, als ich von jiuzhai.com gehört habe.
    Es gibt ja heutzutage haufenweise Plattformen, deshalb war ich zurückhaltend.
    Aber das Angebot ohne eigenes Risiko fand ich dann doch interessant, und das war tatsächlich nicht schlecht.
    Gleich nach dem Einloggen bei Spinmama bekam ich ein Startguthaben, ohne dass ich etwas eingezahlt habe.
    Die Seite läuft stabil, und die App läuft sogar noch besser als erwartet.

    Was Spinmama besonders macht: Es gibt auch für treue Nutzer Aktionen.
    Das ist bei anderen Anbietern selten. Ich werd auf
    jeden Fall dranbleiben. Wer echtes Spielvergnügen ohne Einzahlungszwang
    erleben will, sollte sich Spinmama unbedingt anschauen.

  11. Thanks for posting. It’s excellent.

  12. url dice:

    bookmarked!!, I really like your website!

  13. I am sure this article has touched all the internet viewers,
    its really really fastidious paragraph on building up
    new webpage.

  14. James Evans dice:

    This is the kind of content I find helpful.

  15. This is a great tip particularly to those new
    to the blogosphere. Simple but very accurate info… Thank you for sharing this one.
    A must read post!

  16. I particularly liked the approach this was written.

  17. dphavv dice:

    We were going towards the big city to see a doctor, therefore it made sense. Factors staying taught in educational facilities regularly variations, that’s a fact. It is extremely important that the web doctor exactly understands what are the problem is and accordingly provides medicine.

  18. Mark Lewis dice:

    Thanks for putting this up. It’s brilliant work.

  19. You’ve evidently put in effort.

  20. This submission is incredible.

  21. omoudp dice:

    An online pharmacy is pretty a help in a embarrassing scenario like this. Any reputable web business puts their shopping cart software on a good server. Strong customer service skills really are a must when handling the hectic pace of a pharmacy or pharmaceutical department.

  22. Andrew Wood dice:

    More content pieces like this would make the blogosphere richer.

  23. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  24. Recycling dice:

    Great work! That is the type of information that are meant
    to be shared across the web. Disgrace on the search engines for
    now not positioning this post upper! Come on over and visit
    my site . Thank you =)

  25. I genuinely liked the manner this was written.

  26. I genuinely admired the way this was presented.

  27. toto12 dice:

    If you are going for finest contents like myself,
    simply pay a visit this site every day for the reason that it provides quality contents, thanks

  28. Ramon 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

  29. Peter Evans dice:

    More articles like this would make the web a better place.

  30. zggcupc dice:

    “(3) The Washington Post(4) commemorated the closing which has a write-up that contained just a little of Schadenfreude. The last volume of your certified local pharmacy professional training program takes a 12 month preparation software in addition to as soon since the completing the particular tutorials you could possibly purchase an associates education. You should find this info somewhere in the “Contact Us” section from the website.

  31. Please let me know if you’re looking for a writer for your weblog.
    You have some really great articles and I think I would be a good asset.
    If you ever want to take some of the load off, I’d love to write some material for your
    blog in exchange for a link back to mine. Please blast me an e-mail if interested.
    Regards!

  32. Henry Jones dice:

    This submission is brilliant.

  33. Thanks for posting. It’s well done.

  34. Dev Deep Orthopaedic Hospital was rated Best Orthopedic
    Doctore in vadodara, Gujarat. Dr. Hari Krishna has established Dhruthi Hospitals the most effective general
    hospital in Guntur which is providing finest general medication in Guntur
    City with its core precept as affected person welfare and fast restoration. The best Hospital Design Architects
    play a serious role in this exertion to generate a therapeutic environment.
    Another means ASIMO can sense the atmosphere is thru the usage of IC Communication cards.
    6016962: IC Communication Cards. IC cards use infrared signals to receive and transmit information. These playing cards improve ASIMO’s capability to work together with others.

    There are three microphones located in ASIMO’s head.
    Once the walking mechanism was mostly developed, arms, hands and
    finally a head have been added. 1991 – Walking like a professional In prototypes E4, E5 and E6, Honda’s engineers perfected the strolling mechanism to the purpose where
    the robotic could easily walk on an incline, up stairs
    and on uneven terrain. Honda engineers knew
    the robot needed to be able to easily navigate round a house or building, and that meant the walking expertise
    had to be perfect. ASIMO either must be programmed to do a particular
    job in a selected area that has markers that it understands,
    or it has to be manually controlled by a human.Eleven wireless know-how and
    a laptop computer or desktop laptop, you possibly can management ASIMO as well as see what ASIMO sees by way of its camera
    eyes.

  35. lvwtgf dice:

    In order to qualify for federal loans a Free Application for Federal Student Aid (FAFSA) must be completed and aid is granted based upon student need, tuition rates in the college, and other factors. The pharmacist technician should have the prepared prescription, reviewed by a pharmacist, before dispensing or submitting the completed order to some patient or customer. They are also to blame for inspecting the operational management of dispensary and manufacturing units and providing a platform to boost the pharmacists’ role to prescribe medicine independently.

  36. Simon Lewis dice:

    More blogs like this would make the web better.

  37. Henry Smith dice:

    Thanks for sharing. It’s well done.

  38. More content pieces like this would make the online space a better place.

  39. Howdy! This article couldn’t be written much better!

    Looking through this post reminds me of my previous roommate!
    He continually kept talking about this. I most
    certainly will forward this information to him.
    Fairly certain he’s going to have a great read. Thank you for sharing!

  40. You’ve evidently spent time crafting this.

  41. More posts like this would make the online space richer.

  42. Just watched this — Mitolyn actually targets mitochondria,
    which they call ‘cellular powerhouses.’ I’ve been dragging midday, and it sounds like this could help reboot
    energy instead of relying on caffeine. Love that it’s built on CoQ10,
    PQQ, and alpha‑lipoic acid—serious science-backed support for energy production and fat metabolism

  43. Thanks for sharing. It’s well done.

Responder a gaya hidup pria Cancelar respuesta