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: 17,069

  1. and 24 percent keep it entirely to themselves (the remainder do not keep it secret).オナドールAmong people who’ve had romantic or sexual thoughts about another person outside of their relationship,

  2. The other day, while I was at work, my sister stole my iPad and tested to see if
    it can survive a 25 foot drop, just so she can be a youtube sensation. My
    iPad is now broken and she has 83 views. I know this is totally off topic but
    I had to share it with someone!

  3. 성인웹툰 dice:

    It’s amazing in favor of me to have a website, which is good designed for my experience.
    thanks admin

  4. uijnbgln dice:

    Most physiologists required a Ph – D degree and licensing. Before taking any exams necessary for their state, they need to pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English being a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Use those outlines as a roadmap to aid you study for that pharmacy tech certification test.

  5. Hello There. I found your blog using msn. This is an extremely well written article.
    I’ll be sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I will definitely return.

  6. 网络药店 dice:

    Greetings! I’ve been reading your web site for a long time now and finally got the courage to go ahead and give you a shout out from Humble Tx!
    Just wanted to tell you keep up the great job!

  7. “I.ラブドール 女性 用.. hope… for guidance… help… in regeneration,

  8. Source dice:

    Outstanding story there. What happened after? Good luck!

  9. deotmrgo dice:

    There are two ways being a pharmacist technician, getting certified or registered through your state. The above image shows a secure protocol ( has been used with the fraudster. So like a buyer, you’ll need to identify a geniune online pharmacy that is certainly licensed and sells only Food and Drug Administration (FDA) approved medicines.

  10. Mainkan slot online dan togel terbaik di BANDARTOTO66!
    Nikmati permainan slot gacor dengan RTP tinggi, jackpot besar, dan transaksi cepat.
    Daftar sekarang dan raih kemenangan besar di situs
    slot terpercaya!!!

  11. Hello Dear, are you in fact visiting this web page daily, if so after that
    you will without doubt take nice experience.

  12. xsxcpwdj dice:

    It may be used by fraudsters gain access to your accounts at numerous financial institutions. When I asked the tech relating to this new action she stated that yes, it is a whole new policy understanding that it is a “law” that most pharmacies must adhere to. Cocci are sphere-shaped bacteria and will include streptococci, that are chains of cocci bacteria, and staphylococci, which are clusters of cocci bacteria1.

  13. Excellent site you have here but I was curious about if you knew of any user discussion forums that cover the same topics
    discussed here? I’d really love to be a part of community
    where I can get advice from other knowledgeable people that share the same interest.
    If you have any suggestions, please let me know.
    Thanks a lot!

  14. HarryFlubs dice:

    Усыпление и кремация кошек и собак в Санкт-Петербурге [url=https://veterinarnayaclinica.ru/]Ветклиника в санкт-петербурге[/url]

  15. jchodj dice:

    Most physiologists required a Ph – D degree and licensing. Before taking any exams necessary for their state, they must pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English as being a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. The massive rise in people online for many of their shopping and daily needs has generated many pharmacies having an internet site built, where they provide numerous services which can help you avoid making unnecessary trips to any local pharmacy.

  16. Thank you for any other informative website.
    The place else could I get that kind of information written in such an ideal
    means? I have a undertaking that I’m just now running
    on, and I’ve been on the look out for such information.

  17. https://digi21sa.blr1.digitaloceanspaces.com/research/digi21sa-(294).html
    A basic rule for a wedding is that something too lengthy or too brief is a no-go.

  18. Aivora Trade dice:

    I loved as much as you will receive carried out right
    here. The sketch is tasteful, your authored subject matter stylish.
    nonetheless, you command get got an edginess over that you
    wish be delivering the following. unwell unquestionably
    come further formerly again as exactly the same nearly very
    often inside case you shield this hike.

  19. Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/register?ref=P9L9FQKY

  20. hrluqwwo dice:

    It is vital to note that doesn’t every pharmacy technician receives this type of low wage knowning that when doing work in private pharmacies, it is almost certainly that one receives a wage of $17 each hour minimum. I must add, I have never had any kind of emotional disorder within my life and am a skeptic of anti-depressants. Cocci are sphere-shaped bacteria and can include streptococci, which can be chains of cocci bacteria, and staphylococci, which are clusters of cocci bacteria1.

  21. kmrzxf dice:

    By giving your pharmacy the exact name of the medication you’ll be able to better safe guard your health. Insurance is confusing in the first place, and yes it is constantly changing. The massive rise in people using the web for many of their shopping and day by day needs has resulted in many pharmacies having an internet site built, where they feature numerous services which will help you avoid making unnecessary trips to the local pharmacy.

  22. I’ve been surfing online more than three hours nowadays, yet I by no
    means found any interesting article like yours. It’s lovely value
    sufficient for me. In my view, if all webmasters and bloggers made just right content as you did, the internet will
    likely be a lot more useful than ever before.

    my webpage Packaging Machinery

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

  24. Hi there, I believe your web site could possibly be having web browser compatibility problems.
    Whenever I take a look at your web site in Safari, it looks fine
    but when opening in I.E., it has some overlapping issues.
    I just wanted to give you a quick heads up! Besides that, wonderful blog!

  25. casino site dice:

    There’s this player I met who’s hooked on online slots.
    He’s moved to Illinois now, but his mom is originally from Russia.
    He’s dating a guy and they both love hitting the virtual slots.

    What’s funny is he’s really into Putin — says he thinks feminine guys are “supposed” to like him.
    Not sure I get it, but hey, people are weird like that.
    One thing’s for sure — he’s got some serious luck when it comes
    to online casinos!
    You might also like this casino — definitely worth a shot

  26. zmdngj dice:

    If you are disabled as outlined by federal government standards, and receive government disability payments, then you certainly generally may have your student loans discharged. Screaming, yelling, demanding things, or becoming rude will not help the situation. The respiratory therapist’s tasks include providing the precise measurements of oxygen or other kinds of gas concentrations in the patient’s blood as well as measuring blood alkalinity or acidity levels.

  27. What’s up, always i used to check blog posts here in the early hours in the dawn, as i like to find out more and more.

  28. RobertsoM dice:

    Watch online movie Mission: Impossible All Parts [url=https://irkutskhostel.ru/]миссия невыполнима 3 онлайн[/url]

  29. lhdlthfg dice:

    An online pharmacy is quite a help in a embarrassing scenario like this. Before taking any exams required by their state, they need to pass the Foreign Pharmacy Graduate Equivalency examination (FPGEE), Test of English as being a Foreign Language (TOEFL) and Test of Spoken English (TSE) exams. Strong customer support skills are a must when handling the hectic pace of a pharmacy or pharmaceutical department.

  30. bet boro dice:

    If you are going for finest contents like me, only pay a visit this site all the time because
    it offers feature contents, thanks

  31. I every time used to study paragraph in news papers but now as I am a user of web thus from now I am using
    net for articles, thanks to web.

  32. ggggtj dice:

    By giving your pharmacy the exact name of one’s medication you are able to better safe guard your health. The holding, the transfers, the modern rules and also the mail-order requirements. An individual who finds work in this profession can certainly be a radiology technician if his competency qualifies him to do work using x-ray, ultra-sound, CAT or ECG equipment providing you with the doctors with scanned images how the latter will use as bases for their diagnoses.

  33. For most recent news you have to pay a visit world wide web
    and on internet I found this site as a finest web page for
    most recent updates.

  34. kontol dice:

    This blog was… how do you say it? Relevant!! Finally I have found something
    that helped me. Thanks!

  35. Richardprunk dice:

    Modern operations abdominal surgery innovative technologies, precision and safety. Minimal risk, short recovery period. Plastic surgery, ophthalmology, dermatology, vascular procedures.

  36. agenolx dice:

    It’s the best time to make some plans for the longer term and it’s time to be happy.
    I have read this put up and if I could I desire to suggest you few attention-grabbing things or suggestions.
    Perhaps you can write subsequent articles relating to this article.
    I wish to learn more things approximately it!

  37. Hello there! This is my first visit to your blog!
    We are a team of volunteers and starting a new project in a community in the same niche.

    Your blog provided us beneficial information to work on.
    You have done a outstanding job!

  38. GeorgeHix dice:

    Профессиональное https://prp-expert.ru: PRP, Plasmolifting, протоколы и нюансы проведения процедур. Онлайн курс обучения плазмотерапии.

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

    Что отличает Aurora казино от других казино?
    Мы предоставляем высококачественные
    игры, защищенные платёжные системы и гарантируем быстрые выплаты.
    Наши игроки всегда могут быть уверены в
    честности игры и прозрачности всех условий.

    Когда лучше начинать в Aurora Casino?
    Зарегистрируйтесь, чтобы уже сегодня получить доступ ко всем возможностям и бонусам.
    Вот, что вас ждет:

    Вам будут предложены большие бонусы,
    как только вы зарегистрируетесь.

    Ежедневные акции и турниры.

    Большой выбор слотов и настольных игр.

    Aurora Casino — это не только шанс на
    выигрыш, но и море незабываемых эмоций.

  40. axxztnw dice:

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

  41. Hey there are using WordPress for your blog platform?
    I’m new to the blog world but I’m trying to get started and set up my
    own. Do you require any coding knowledge to make your
    own blog? Any help would be really appreciated!

  42. This website truly has all of the info I needed
    about this subject and didn’t know who to ask.

  43. I am genuinely grateful to the owner of this web site who has shared
    this impressive piece of writing at at this place.

  44. agentoto dice:

    If some one wants expert view regarding blogging after that i
    suggest him/her to visit this weblog, Keep up the good work.

  45. Way cool! Some very valid points! I appreciate you writing this post plus the rest of the website is extremely good.

  46. nmbxbtw dice:

    The certification does play a huge role in making a rewarding career as being a PT as it helps for making one more qualified after they apply for promotion. These will be the pharmacist who works as a professor or lecture in almost any medical college; they spend around 50 per cent of these time inside the other areas of pharmacy. They can also check with doctors to authorize refills, and enter drug information to the computer.

Responder a ufabet เข้าสู่ระบบ Cancelar respuesta