/images/avatar580.png

Salvatore Nasca

Website about Tech, Cool Stuff and Life Hacks

Masa Architecture

What is it? MASA stands for Mesh App and Service Architecture. It is a new architectural model that was introduced by Gartner in 2016. MASA is designed to address the challenges of modern application development, such as the need for agility, flexibility, and scalability. In a MASA architecture, applications are made up of a mesh of independent and autonomous services. These services are connected to each other through APIs. This allows applications to be easily composed and decomposed, making them more agile and flexible.

Kubernetes Deploy Aws Spot Fleet

This is an example of a Kubernetes manifest that you can use to deploy a spot fleet with high availability in AWS. apiVersion: v1 kind: Service metadata: name: my-service spec: type: LoadBalancer selector: app: my-app ports: - protocol: TCP port: 80 targetPort: 80 --- apiVersion: apps/v1 kind: Deployment metadata: name: my-deployment spec: replicas: 8 selector: matchLabels: app: my-app template: metadata: labels: app: my-app spec: affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: app operator: In values: - my-app topologyKey: "kubernetes.

Ansible Playbook Example - Linux Server deployment with SSH Public Key

This is an example of an Ansible Playbook to deploy a Linux Server with a Public Key for SSH. --- - hosts: all become: true tasks: - name: Install and update system packages apt: name: "{{ packages }}" state: latest vars: packages: - python - python-apt - name: Install and configure SSH apt: name: openssh-server become: true become_user: root vars: packages: - openssh-server - name: Start and enable SSH service service: name: ssh state: started enabled: true - name: Add public SSH key authorized_key: user: "{{ ansible_user }}" key: "{{ ssh_public_key }}" vars: ssh_public_key: "ssh-rsa AAAAB.

What Is Aws

What is Amazon Web Services? (aka AWS) Amazon Web Services (AWS) is a cloud computing platform that provides a wide range of services for building, deploying, and managing applications. With AWS, businesses can take advantage of on-demand, scalable, and flexible computing resources to meet their specific needs. AWS offers a variety of services, including storage, databases, analytics, machine learning, security, and more. Some of the most popular AWS services include Amazon S3, Amazon EC2, Amazon RDS, Amazon Redshift, and Amazon EMR.