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: 16,772

  1. mxxwwlgs dice:

    CVS Pharmacy must depend on prescription drug sales to be in business, but Wal-Mart doesn’t ought to add an enormous markup to the medications they sell. Factors staying taught in universities regularly variations, what a fact. Make sure that you take time to ask about a less expensive version so that they will confirm the list.

  2. It’s amazing for me to have a website, which is valuable
    designed for my experience. thanks admin

  3. or play sports.I was 7 with an erection on the toilet and I can’t pee.オナホ ラブドール

  4. at tumuloy ac sacanyang bahay.下着 エッチNa siya’y hindi nangumpisal cailan man,

  5. sex doll dice:

    and allowing people to experience sexual pleasure.Absolutely.オナホ ラブドール

  6. togel dice:

    I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. In my view, if all website owners and bloggers
    made good content as you did, the internet will be much more useful than ever
    before.

  7. I’ve read this publish and if I may just I wish to suggest you fewattention-grabbing issues or advice.Maybe you can write next articles referringto this article.セックス ドール

  8. tobrut999 dice:

    Exceptional post however I was wanting to know if you could write a litte
    more on this topic? I’d be very thankful if you could elaborate a little
    bit further. Many thanks!

  9. エロ い 下着s vital strength.I have seen it coming these years.

  10. Hi there! Someone in my Myspace group shared this website
    with us so I came to look it over. I’m definitely loving the
    information. I’m bookmarking and will be tweeting this to my followers!

    Exceptional blog and amazing design and style.

  11. 人形 セックスHis team sport of choice was rugby,which he played for more than 10 years when he was in school,

  12. Valuable information. Fortunate me I discovered your web site accidentally, and
    I am shocked why this accident didn’t took place in advance!

    I bookmarked it.

  13. knitting.“ surely! who had left her in exactlythe same attitude some seventeen years ago.エロ い コスプレ

  14. Write more, thats all I have to say. Literally, it seems as though you relied on the video to
    make your point. You clearly know what youre talking about,
    why waste your intelligence on just posting videos to your site when you could
    be giving us something enlightening to read?

  15. prodentim ingredients I have actually been using ProDentim
    for some time now, and the outcomes are incredible.
    My mouth really feels fresher, and my gum tissues are healthier.
    The blend of probiotics and crucial nutrients functions marvels.

    ProDentim is a must-have for anyone severe about their oral health.

  16. Through our thorough research, we’ve identified variations in approach.

  17. Great post. I was checking continuously this blog and I’m impressed!
    Extremely useful information specially the last part 🙂 I care for such information a lot.
    I was seeking this particular info for a very long time.

    Thank you and best of luck.

  18. I don’t know whether it’s just me or if everybody else
    encountering issues with your site. It appears as though some of the text within your posts are running off the screen. Can someone else please comment and let
    me know if this is happening to them too? This may be a issue with my internet browser because I’ve had this happen before.
    Appreciate it

  19. qdbqjc dice:

    In order to qualify for federal loans a Free Application for Federal Student Aid (FAFSA) should be completed and aid is granted based upon student need, tuition rates in the college, and also other factors. When I asked the tech concerning this new action she stated that yes, it is a brand new policy and that it can be a “law” that pharmacies must adhere to. They are also responsible for inspecting the operational treatments for dispensary and manufacturing units and providing a platform to improve the pharmacists’ role to prescribe medicine independently.

  20. and lock her in ther ?Four hands wereimmediately laid upon me,エッチ 下着and I was borne upstairs.

  21. qofcgdla dice:

    While there can be a small chance you can get laid off (for example, if your chain supermarket closes some stores) you should not have much problem finding another job. When all factors are believed, however, I would have to say the prices charged at CVS Pharmacy and Rite Aid Pharmacy are quite comparable. Most drugs need being stored at exact temperatures, so one with the things pharmacists learn within pharmaceutical quality training will be the necessary steps to hold the facilities clean and in compliance with regulations.

  22. their matted locks now flungforward over their eye now flung backward over their neck some womenheld wine to their mouths that they might dr and what with droppingblood,and what with dropping wine,エロ い コスプレ

  23. 789p dice:

    Have you ever thought about writing an ebook or guest authoring
    on other websites? I have a blog centered on the same topics you discuss and would love to have
    you share some stories/information. I know my audience would value your work.
    If you’re even remotely interested, feel free to send me an e-mail.

  24. gcpuuqit dice:

    Remember the Golden Rule: As hard as it can be some times, you can get a lot more done in the calm friendly manner then you definitely ever will accomplish by pounding your fist for the counter. The local temperature in the medicine producing country is one as well as the other country could possibly be another, and the avian temperature could be the other. Veri – Sign and Scan – Alert Hacker Safe would be the two names you should be looking out for as well because they names will proclaim why these websites are secure for paying online.

  25. Anónimo dice:

    Am Anfang war ich nicht ganz überzeugt, als ich von pediascape.science gehört habe.
    Inzwischen existieren ja mehr als genug Seiten, deshalb war ich zurückhaltend.
    Aber das Angebot ohne eigenes Risiko fand ich dann doch interessant, und siehe da
    – war echt positiv überrascht. Sobald ich mich bei Spinmama eingeloggt habe kamen direkt Free Spins, ohne
    dass ich etwas eingezahlt habe. Die Seite läuft stabil, besonders angenehm über die Spinmama App.
    Ein großes Plus für mich war: Nicht nur neue Spieler profitieren. Das bietet nicht jedes Casino.
    Ich werd auf jeden Fall dranbleiben. Wer auf der Suche nach einem fairen Casino mit echtem Bonus ohne Einzahlung ist, sollte sich Spinmama unbedingt anschauen.

  26. えろ コスプレOnlyweggebobbles and frui t eat a beefsteak.If you do the eyes ofthat cow will pursue you through all eternity.

  27. wdvnmpqt dice:

    Most patients were paying good money for their insurance and were often upset when their prescriptions required a $50 co-pay, or they’d not met their $4,000 deductable and must spend the money for entire cost out-of-pocket. Screaming, yelling, demanding things, or becoming rude won’t help the situation. After you done the account, you will now select a payment scheme.

  28. Just desire to say your article is as amazing. The clearness to your put
    up is simply cool and i could think you are an expert on this subject.

    Well along with your permission let me to clutch your feed to stay up to date with drawing close post.
    Thanks a million and please continue the rewarding work.

  29. vllbqhu dice:

    It is very important to note that not every pharmacy technician receives a real low wage understanding that when doing work in private pharmacies, it is almost certainly that one turns into a wage of $17 each hour minimum. When I asked the tech about this new action she stated that yes, it is a brand new policy knowning that it is really a “law” that every pharmacies must adhere to. You should find this information somewhere inside “Contact Us” section with the website.

  30. ボディ スーツ えろand about how muchbetter off they used to wa and how they didt know but d made amistake coming to our tow instead of letting well aloneand so on andso o till I was afeard I had made a mistake coming to her to findout what was going on in the tow but by-and-by she dropped on to papand the murder,and then I was pretty willing to let her clatter rightalong.

  31. s the matter with her? ?I couldt think of anything reasonable,right off that way,コスプレ エロ い

  32. I was excited to find this site. I want to to thank
    you for ones time for this wonderful read!! I definitely appreciated every little bit of it and i also
    have you book marked to look at new stuff on your site.

  33. vjnsspt dice:

    The pharmaceutical industry especially can’t afford to allow its practitioners to delay or refuse management of clients due for the perceived using any medical device, be it a pill or even a syringe. You may also check out “Physician Assistant Is a Top Healthcare Career. However, by exercising with adequate practice pharmacy technician test questions we now have better likelihood of being successful.

  34. Moses 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

  35. Magnificent goods from you, man. I’ve consider your stuff prior to and you’re just too great.
    I actually like what you have obtained here, really like what you’re stating
    and the best way during which you assert it. You’re making it enjoyable and
    you still take care of to keep it wise. I can not wait to learn much more from you.
    That is actually a terrific web site.

  36. qwmnvnk dice:

    CVS Pharmacy must depend upon prescription drug sales to stay in business, but Wal-Mart doesn’t ought to add an enormous markup to the medications they sell. The local temperature from the medicine producing country is one as well as the other country may be another, and the avian temperature will be the other. Make certain that you take time to ask about a more affordable version in order that they will look at the list.

  37. ATV RIDING dice:

    Just want to say your article is as astonishing. The clearness on your put up is just great and that i
    could think you are a professional on this subject.
    Fine along with your permission allow me to clutch your RSS feed to stay updated with forthcoming
    post. Thank you one million and please continue the enjoyable work.

  38. jetbet dice:

    Today, while I was at work, my cousin stole my iPad and tested to see if
    it can survive a twenty five foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed
    and she has 83 views. I know this is totally off topic but I had to share it
    with someone!

  39. For the reason that the admin of this website is working, no uncertainty very quickly it will be renowned,
    due to its quality contents.

  40. For hottest information you have to visit the web and on internet I found this site as a finest web page for
    most recent updates.

  41. kwitbamq dice:

    There are two ways for being a pharmacist technician, getting certified or registered by your state. To find degree programs that train you to get a career as a pharmacy technician, you’ll be able to check out the Directory of Schools website at directoryofschools. There is really no difference between ordering drugs from a drugstore inside the United States than by way of a Canada pharmacy except to the price.

  42. Aw, this was an incredibly nice post. Spending some time
    and actual effort to create a superb article… but what can I
    say… I put things off a whole lot and never seem to get nearly anything done.

  43. Hello there, I do think your web site could be having internet
    browser compatibility problems. Whenever I look at your web site in Safari, it looks fine however,
    if opening in IE, it has some overlapping issues.

    I simply wanted to give you a quick heads up! Apart from that,
    wonderful blog!

  44. ctgdynz dice:

    The pharmaceutical industry especially cannot afford to allow its practitioners to delay or refuse treatments for clients due to the perceived using any medical device, whether it’s a pill or possibly a syringe. You might additionally check out “Physician Assistant Is a Top Healthcare Career. So like a buyer, you may need to identify an authentic online pharmacy which is licensed and sells only Food and Drug Administration (FDA) approved medicines.

  45. Please let me know if you’re looking for a article writer for your site.
    You have some really great articles and I believe
    I would be a good asset. If you ever want to take some of the load off, I’d really like to write some articles
    for your blog in exchange for a link back to mine.
    Please shoot me an email if interested. Cheers!

Responder a Social Networking Community Cancelar respuesta