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: 35,791

  1. Georgecix dice:

    A DMCA takedown request is a formal fascinate cast-off to ask an online use provider to rub off or disable access to copyrighted significance that is posted without permission. It is based on the United States Digital Millennium Copyright Act (DMCA) and is widely against before copyright holders, their agents, and now platforms to address contravention quickly.

    Legal essence and purpose
    The DMCA creates a notice-and-takedown framework. Copyright owners notify online service providers there avowed infringements. If the provider complies before removing or disabling access to the substantial, they can gain safe-harbor protection from burden for hosting third-party content. The chief purpose is to estimate copyright enforcement with protections for repair providers and users.

    Who can send a beseech
    A valid requester is the copyright holder or an authorized go-between acting on their behalf. The requester forced to be enduring a good-faith intuition that the use is illegitimate and have to assert that the information in the notice is precise under sentence of perjury.

    What a suitable DMCA takedown mark should subsume
    A compliant take typically contains:
    – A medic or electronic signature of the claimant or an authorized spokeswoman
    – Perception of the copyrighted work claimed to be infringed (or a representative cant)
    – Identification of the infringing physical and its location (URLs or sufficient information to locate it)
    – Speak to news of the claimant (talk to, ring up issue, email)
    – A communiqu‚ of good-faith opinion that the use is unsanctioned
    – A statement that the communication is careful and, second to forfeit of perjury, that the claimant is authorized to posture

    How online putting into play providers respond
    Upon receiving a valid notice, providers loosely must thing expeditiously to dismiss or disable access to the avowed infringing material to nourish safe-harbor protection. They as a rule warn the subscriber or uploader that satisfied was removed and care for data yon counter-notice procedures.

    Counter-notice and restoration process
    If the uploader believes the pleasure was removed in boo-boo (for sample, clear take advantage of or countenance), they can submit a DMCA counter-notice. A valid counter-notice must subsume identified with low-down and a annunciation consenting to jurisdiction. After receiving a meet counter-notice, the handling provider may make restitution the volume after a unvarying aeon (habitually 10–14 calling days) unless the copyright claimant files a lawsuit.

    Limitations and risks
    – Misusage: Imitation or bad-faith notices can lead to wrongful removals. The law allows towards penalties inferior to forswearing rules and covert debt quest of misrepresentation [url=https://www.mtdiabloheat.com/group/news-events/discussion/839d11e8-316a-4ee9-a1ad-8f3c0dfbd0b7?commentId=0d2753c9-0857-4538-9dc7-3b3bd9ffb647]https://www.mtdiabloheat.com/group/news-events/discussion/839d11e8-316a-4ee9-a1ad-8f3c0dfbd0b7?commentId=0d2753c9-0857-4538-9dc7-3b3bd9ffb647[/url]
    – Jurisdictional opportunity: The DMCA is U.S. law; its direct licit troops is small the world at large the U.S., even if assorted universal platforms heed almost identical procedures.
    – Not a specific seeing that all claims: DMCA addresses copyright, not defamation, sequestration, or trademark issues.

    Nicest practices for claimants
    – Vouch for ownership and the infringing handling carefully before sending a notice.
    – Minister to precise locations (show URLs) and complete connection details.
    – Keep records of communications and evidence of infringement.
    – Consider option conflict resolution or licensing discussions when appropriate.

    Best practices for recipients and platforms
    – Contrivance readable procedures to go to handling notices and counter-notices.
    – Maintain undissembling communication with users phoney by removals.
    – Retainers standard to gauge the formal sufficiency of notices while avoiding unnecessary components suppression.
    – Use repeat-infringer policies consistently.

    Conclusion
    A DMCA takedown request is an important, legally structured arrangement seeking enforcing copyright online. When toughened correctly, it helps copyright holders cover their works and allows service providers to manage liability. Proper profit by, cautious verification, and respect as a replacement for counter-notice rights are requisite to maintain fairness and juridical compliance.

  2. hargatoto dice:

    whoah this weblog is magnificent i love studying your articles.
    Keep up the good work! You understand, many
    individuals are hunting around for this info, you
    can help them greatly.

  3. Charlesvap dice:

    CuraBharat USA: CuraBharat USA – online pharmacy india

  4. We are a group of volunteers and opening a new scheme in our community.
    Your site provided us with valuable information to work on. You
    have done an impressive job and our entire community will be grateful
    to you.

  5. Many of them are heated by stoves or furnaces.ロボット エロThescholars in most cases wear the Japanese dress,

  6. электрические гардины [url=https://elektro-karniz77.ru/]https://elektro-karniz77.ru/[/url] .

  7. карнизы с электроприводом [url=https://avtomaticheskie-karnizy.ru/]карнизы с электроприводом[/url] .

  8. I got this site from my buddy who informed me concerning this site and now this time
    I am visiting this web page and reading very informative articles or reviews here.

  9. домашний интернет тарифы
    inernetvkvartiru-rostov006.ru
    недорогой интернет ростов

  10. Everyone loves what you guys are usually up too. Such clever work and coverage!
    Keep up the good works guys I’ve you guys to my own blogroll.

  11. Actually no matter if someone doesn’t understand afterward its up to other visitors that they will assist, so here it happens.

  12. Michaelhaurf dice:

    SaludFrontera [url=https://saludfrontera.com/#]SaludFrontera[/url] medication from mexico

  13. I’m extremely impressed with your writing abilities and also with the
    layout on your weblog. Is that this a paid topic
    or did you modify it yourself? Either way keep up the excellent quality writing, it’s rare to look a great blog
    like this one nowadays..

  14. ロボット エロwhen color leaves cheek and hair,has acuriously yellow and parchment-like look.

  15. Экстренная наркологическая помощь в владимире: капельница для избавления от запоя Зависимость от алкоголя — это серьезный недуг, который нуждается в квалифицированной помощи. Нарколог на дом предоставляет услуги, такие как капельница от запоя, способствующая восстановлению организма после продолжительного употребления алкоголя. Основные симптомы алкогольной зависимости: дрожь, потливость, тревога. Лечение запоя включает в себя дезинтоксикацию и реабилитацию организма. Консультация нарколога поможет определить подходящий план лечения алкоголизма. Неотложная помощь при алкоголизме, ориентированная на вывод из запоя, может избежать тяжелых осложнений. Профилактика запойных состояний и психотерапевтические методы для зависимых — ключевые элементы успешного лечения зависимостей, обеспечивающие устойчивые результаты. Услуги нарколога в владимире доступны круглосуточно, что позволяет получить необходимую помощь в любое время. Не затягивайте с лечением, свяжитесь со специалистами прямо сейчас!

  16. TeddyUsath dice:

    mexico pharmacy price list: can i order online from a mexican pharmacy – SaludFrontera

  17. mostbet_geka dice:

    мостбет оригинал скачать [url=https://www.mostbet12009.ru]https://www.mostbet12009.ru[/url]

  18. Michaelhaurf dice:

    TrueNorth Pharm [url=http://truenorthpharm.com/#]TrueNorth Pharm[/url] buying drugs from canada

Responder a learnplasma.org lừa đảo công an truy quét cấm người chơi tham gia Cancelar respuesta