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: 18,790

  1. JamesWeK dice:

    Reconnoitre a world of non-stop entertainment with [url=https://www.moviesjoy.cc/]MoviesJoy[/url], your go-to destination benefit of streaming TV series online.
    Dive into a discrete gleaning of sought-after and trending shows in tall trait, all at at your fingertips[url=https://www.moviesjoy.cc/tvshows/].[/url]

  2. depo123 dice:

    I got this web site from my friend who informed me concerning
    this site and now this time I am visiting this web page and reading
    very informative content at this time.

  3. que desmaya el que no come; pero tambien dize el Vizcayno que tripa vazia,エロ ラブドールcora?on triste.

  4. Michealgoato dice:

    Добро идти на увлекательный мир Джой Казино! Это онлайн-казино, каковое стремительно заслуживает популярность благодаря широкому выбору игр, привлекательным бонусам и лучшему сервису. Давайте подробнее рассмотрим, что делает этто толпа таковым заманчивым чтобы инвесторов с честь имею кланяться мира.

    Сортамент Игр

    Джой Толпа предлагает личным пользователям эпохальный выбор игр от основных на большой разработчиков программного обеспечения. В ТЕЧЕНИЕ каталоге представлены многообразные слоты, настольные зрелище, включая блекджек равно рулетку, что-что также игры с жизненными дилерами, где хоть пережить атмосферу настоящего казино.

    Скидки (а) также Промоакции

    Одной с основополагающих отличительных черт Джой Казино зарождается сложность скидок да акций. Новейшим игрокам предлагается приветственный пакет, сующий скидки на первые депозиты, а тоже даровые вращения на популярных слотах. Постоянные промо-акции равно турниры дают возможность держать энтузиазм пользователеи? хронически на рослом уровне.

    Безопасность да Надежность

    Джой Казино тщательно [url=https://chairman.ru/html/cust/kak-popast-na-ofitsialnyy-sayt-joycasino-vse-sposoby-vhoda_1.html]джойказино официальный сайт[/url] держать под надзором согласен сохранностью данных личных юзеров равно денежных транзакций. Эксплуатация нынешних технологий шифрования заручает, яко ваши индивидуальные этые и средства довольно надежно защищены. Суперлицензия, принятая в течение одной изо известных юрисдикций, также подкрепляет надежность (а) также чистота оператора.

    Поддержка Покупателей

    Одной с глубоких местностей Джой Толпа зарождается лучшая поддержка пользователей. Постояннодействующий чатик содействия, а также электронная эстафета да страстная линия дают возможность эффективно принимать решение другие возникшие вопросы.

    Удобство Применения

    Современный этнодизайн а также шестым чувством понятный сокет делают шеринг всего Джой Толпа приятным также простым. Платформа доступна как сверху неподвижных пк, яко и на мобильных аппаратах, предоставляя возможность душа млеет (радостью) представлением в течение что угодно время да в течение другом месте.

    Эпилог

    Джой Казино приглашает пруд ясно как день игры, что-что цельное путешествие в юдоль скорби пыла и развлечений. Через обилию игр, щедрым бонусам равным образом высокому уровню безвредности оно не прекращает притягивать шиздец больше игроков со честь имею кланяться мира. Разве что вы шарите надежную да увлекательную игровую платформу, Джой Казино хватит за глаза отличным выбором!

    Яко да на другом разновидности азартных игр, важно запоминать что касается рассудительных ограничениях а также играть ответственно. Наслаждайтесь игрой а также честь имею вам на Джой Толпа!

  5. Hi there! I simply want to offer you a big thumbs up for the great
    info you have here on this post. I am returning to your
    site for more soon.

  6. I think this is one of the most significant info
    for me. And i am glad reading your article.
    But wanna remark on some general things, The site style is perfect, the
    articles is really great : D. Good job, cheers

  7. Everette 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

  8. Barryrab dice:

    Вход через зеркало Кракена без ошибок, всё стабильно

  9. Demo slot Pragmatic Play dan demo slot PG Soft tempat latihan gratis buat ngulik
    semua fitur permainan slot online. Gratis, tanpa perlu mikirin dompet.

    Pragmatic Play punya game hits kayak Gates of Olympus
    atau Sweet Bonanza yang grafisnya juara, PG Soft jagonya bikin slot mobile yang animasinya
    halus banget kayak Mahjong Ways 2. Main demo itu bikin makin jago dan pede sebelum
    beneran gas pakai uang asli. Gas cobain sekarang!

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

  11. RichardSpamy dice:

    The cult romantic comedy that made Julia Roberts a star Influential businessman [url=https://www.mraqua.ru/]красотка смотреть онлайн[/url]

  12. calon4d dice:

    Link exchange is nothing else however it is simply placing the other person’s blog link on your page at appropriate place and other person will
    also do same in support of you.

  13. ponyjp dice:

    I’m more than happy to uncover this site. I want to to thank you for
    your time due to this fantastic read!! I definitely appreciated every part of
    it and i also have you saved to fav to look at new information in your web site.

  14. seven dice:

    I like it when folks get together and share thoughts. Great blog, stick with it!

  15. web page dice:

    Свежая и проверенная база для эффективного продвижения вашего сайта
    средствами Хрумера и ГСА!

    Преимущества нашего предложения:

    – Качественная база проверенных площадок для мощного SEO-прогона.

    – Готовые успешные базы — мгновенный эффект без риска и разочарований.

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

  16. vksqgjk dice:

    The call center company later changed its name to e – Telecare Global Soltions in 2004. Important point to be noticed is always that cost can’t be the first consideration. This is often a common occurrence as January 1 kicks off a new year of pharmacy benefits and beneficiaries are kept in (with minor exceptions naturally called qualifying life events or QLEs) before next open enrollment season in November.
    Sertraline discount pharmacy

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

  18. nsacgdi dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. As a tiny entrepreneur, just when was it time to improve prices like Netflix. After you done the account, you may now pick a payment scheme.
    Online pharmacy for contraceptives

  19. dream dice:

    Hi would you mind stating which blog platform you’re working with? I’m planning to start my own blog in the near future but I’m having a hard time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique.

  20. crypto dice:

    Hi would you mind stating which blog platform you’re using? I’m planning to start my own blog in the near future but I’m having a hard time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique.

  21. Hello there! I could have sworn I’ve visited this site before but after browsing through some
    of the posts I realized it’s new to me. Anyways,
    I’m certainly delighted I came across it and I’ll be book-marking it
    and checking back frequently!

  22. jiydkje dice:

    There are two ways being a pharmacist technician, getting certified or registered by your state. To find degree programs that train you for a career being a pharmacy technician, it is possible to check out the Directory of Schools website at directoryofschools. They may also check with doctors to authorize refills, and enter drug information to the computer.
    Online pharmacy for diabetes medications

  23. 토닥이 dice:

    토닥이는 여성 고객을 위한 프리미엄 마사지 서비스입니다.
    스웨디시, 아로마, 타이 마사지 등 다양한 마사지 코스를 안전하고 편안한 여성 전용
    환경에서 경험하세요.

  24. 토닥이 dice:

    WOW just what I was looking for. Came here by searching for 토닥이

  25. Fantastic site you have here but I was curious about if
    you knew of any discussion boards that cover
    the same topics talked about in this article? I’d really love to be a
    part of group where I can get advice from other experienced people that share
    the same interest. If you have any suggestions, please let me know.

    Appreciate it!

  26. miototo dice:

    I simply couldn’t go away your website before suggesting that I extremely loved the usual info
    a person provide to your guests? Is going to be again continuously in order to check up on new posts

  27. egypt e visa dice:

    For hottest information you have to pay a visit web and on web I found this web page as a most excellent web page for hottest updates.

  28. Barryrab dice:

    Спасибо за официальный сайт Кракен, доступ без VPN быстрый

  29. MPO212 dice:

    I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone to do it for you?
    Plz respond as I’m looking to construct my own blog and would like to find out where u got this from.
    appreciate it

  30. Hello just wanted to give you a brief heads up and let you know a few of
    the pictures aren’t loading correctly. I’m not sure why but I
    think its a linking issue. I’ve tried it in two different web browsers and both
    show the same results.

    https://kyleadamblair.com/

  31. daddy dice:

    I really like what you guys tend to be up too. This sort of clever work and coverage! Keep up the good works guys I’ve incorporated you guys to our blogroll.

  32. Very quickly this web site will be famous among
    all blogging users, due to it’s nice posts

  33. DonaldSougs dice:

    пригнать машину под заказ где заказать авто

  34. zynga dice:

    I like what you guys tend to be up too. This type of clever work and exposure! Keep up the terrific works guys I’ve included you guys to my own blogroll.

  35. luuurqyg dice:

    It could be used by fraudsters to get into your accounts at numerous financial institutions. When I asked the tech about this new action she stated that yes, it is a new policy which it is often a “law” that all pharmacies must adhere to. You should find these records somewhere inside the “Contact Us” section in the website.
    Affordable Levothyroxine online

Responder a game of evolution idle clicker & merge life hack ios Cancelar respuesta