You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesión a prueba de IA

Antes: $249

Currency
$209
Suscríbete

Termina en:

0 Días
6 Hrs
15 Min
22 Seg

Definiciones claves del ecosistema Serverless

3/25
Resources

What is the serverless ecosystem?

The serverless ecosystem has revolutionized technological development by allowing us to deploy applications without having to manage the infrastructure. But what does it really mean? In a serverless environment, concerns about server, memory or CPU configuration are eliminated, since applications run on a specific runtime that is not directly managed by the developer. This makes it easier to focus solely on developing functions with languages such as Python or JavaScript.

What is the relationship between client and server?

Traditionally, the client-server scheme involved detailed configurations for both sides. The client can be a backend or frontend application that communicates with the server through protocols such as TCP. In serverless scenarios, these configurations include the server's operating system, RAM and CPU. The crucial difference is that in serverless, these administrative tasks are taken over by the cloud service provider, which simplifies the operation.

What is the cloud and who are the main cloud providers?

When we talk about "the cloud", we are referring to a remote infrastructure composed of multiple servers that provide various services such as computation and storage. Cloud providers are companies that offer access to this infrastructure. Among the most prominent are Amazon Web Services (AWS), Google Cloud Platform (GCP) and Microsoft Azure. These providers not only provide basic services, but also a wide range of serverless options.

What does AWS offer as a Cloud Provider?

AWS is one of the leaders in cloud services, offering a multitude of options such as compute, storage, and data management, all accessible through a user-friendly and cost-competitive interface. AWS stands out for its comprehensive approach to the serverless ecosystem, providing tools such as AWS Lambda, AWS Fargate and Step Functions that enable the development of scalable and efficient applications.

How does AWS compare to other Cloud Providers?

Although AWS dominates the market, GCP and Azure offer similar features. Each provider has its own advantages and specialized serverless services. Google Cloud, for example, is known for its artificial intelligence tools, while Azure effectively integrates Microsoft services. Still, each of these providers allows you to generate robust and scalable applications without needing your own physical infrastructure.

What is the Serverless Framework and how does it differ from Serverless?

While the term "serverless" refers to the general paradigm where the infrastructure is managed by a provider, the Serverless Framework is a specific tool that optimizes the development process in this environment. This framework enables more efficiency through the use of the serverless.yaml file, where the resources and functions required to develop on AWS are clearly defined.

How does the Serverless Framework facilitate development?

The Serverless Framework allows infrastructure with code that facilitates greater control over the development environment and the integration of custom functions. In addition, it aligns with the concept of Infrastructure as Code (IaC), similar to tools such as Terraform, CDK or Pulumi, although simplifying many of these tasks.

What are the advantages of the Serverless Framework?

By seamlessly integrating with AWS, Serverless Framework simplifies resource management in this environment through clear and well-structured YAML templates. In addition, it offers support for incorporating external systems and managing infrastructure without leaving the serverless framework. This tool promotes an agile and optimized development flow, reducing the operational burden.

With the adoption of serverless and the use of the Serverless Framework, the main focus is on code and functionality, without the typical burdens of server management and configuration, making applications more agile and easier to scale. Come explore these technologies and empower your projects in the cloud!

Contributions 7

Questions 0

Sort by:

Want to see more contributions, questions and answers from the community?

Que es Serverless?

Serverless es una manera de crear y ejecutar aplicaciones y servicios sin tener que administrar infraestructura.En lugar de configurar y administrar servidores, los desarrolladores simplemente cargan su código en la nube y la plataforma se encarga de ejecutarlo automáticamente en función de la demanda.Además, las plataformas sin servidor suelen cobrar solo por el tiempo que se ejecuta el código, lo que significa que los desarrolladores solo pagan por lo que usan.

Ecosistema Serverless


Hay varias maneras de hacer aplicar la arquitectura serverless. Algunas de ellas son:

  • Cliente-Servidor : El modelo cliente-servidor es un modelo de arquitectura de software en el que las aplicaciones están divididas en dos partes principales: el cliente y el servidor.El modelo cliente-servidor es un modelo de arquitectura de software en el que las aplicaciones están divididas en dos partes principales: el cliente y el servidor.
    El cliente: es la interfaz de usuario que se ejecuta en el dispositivo del usuario, ya sea una computadora de escritorio, un teléfono inteligente o una tableta.
    El servidor: es el componente que se ejecuta en una computadora remota y es responsable de procesar y almacenar la información que solicita el cliente.
  • Cloud: es un conjunto de servidores que nos ofrecen una gama de servicios y recursos(Almacenamiento, computo etc…).
    -Cloud provider: Es una empresa que provee esos servicios y recursos de manera amigable. Los Cloud Provider mas usados son: AWS, Azure, Google Cloud platform. Cada uno de esos providers tienen servidores y servicios basicos enfocados a Serverless.

Serverless en AWS:


Algunos de los servicios serverless de AWS son:

  • Lambda
  • Step functions
  • S3 buket
  • SNS, SQS
  • Aurora
  • API Getaway
  • Dynamo DB
    Entre otros…

Que es Serverless framework


Serverless framework es una herramienta que nos permite desplegar aplicaciones serverless sin tanto esfuerzo.

Serverless Framework es un marco de desarrollo de código abierto que facilita la creación, implementación y administración de aplicaciones sin servidor. Permite a los desarrolladores construir fácilmente aplicaciones sin preocuparse por la infraestructura subyacente.

¡Perfecto! Aquí tienes un resumen con las **definiciones clave del ecosistema Serverless**, muy útil si estás empezando o preparando un proyecto (o incluso una certificación como AWS Cloud Practitioner o Developer Associate): ## 🔑 **Definiciones claves del ecosistema Serverless** **TérminoDefiniciónServerless**Modelo de computación en el que el proveedor cloud gestiona automáticamente la infraestructura. El usuario se enfoca solo en el código.**FaaS (Function as a Service)**Modelo donde cargas pequeñas de código se ejecutan como funciones en respuesta a eventos. Ejemplo: AWS Lambda.**AWS Lambda**Servicio serverless de AWS para ejecutar código en respuesta a eventos sin aprovisionar servidores. Soporta múltiples lenguajes.**API Gateway**Servicio que permite exponer funciones Lambda como endpoints HTTP/REST/WS. Gestiona autenticación, throttling y CORS.**DynamoDB**Base de datos NoSQL completamente gestionada y altamente escalable, comúnmente usada con aplicaciones serverless.**Event-driven architecture**Arquitectura basada en eventos donde los servicios se comunican a través de disparadores/eventos (como cambios en una base de datos, cargas a S3, mensajes a una cola).**Cold start**Tiempo de arranque inicial cuando una función serverless se ejecuta después de un periodo inactiva. Puede afectar la latencia.**Stateful vs Stateless**Las funciones serverless son **stateless** (sin estado). El estado persistente se maneja externamente (ej: bases de datos, S3).**Infrastructure as Code (IaC)**En serverless, la infraestructura (funciones, APIs, bases de datos) se define como código, típicamente en archivos YAML o JSON.**Serverless Framework**Herramienta de desarrollo para construir y desplegar aplicaciones serverless usando IaC, muy usada con AWS Lambda.**CloudFormation**Servicio de AWS para desplegar infraestructura como código (IaC). Serverless Framework lo usa por debajo.**Monitoring**En serverless se monitorea uso, errores y rendimiento mediante herramientas como **AWS CloudWatch** o **Serverless Dashboard**.
Genial Herramienta :D ![](https://static.platzi.com/media/user_upload/Captura%20de%20pantalla%202024-10-24%20a%20la%28s%29%2011.18.03p.m.-3f8a6dc3-9920-4604-8d79-432b2ea810b2.jpg)