Skip to content

Instantly share code, notes, and snippets.

@thebeaoliveira
thebeaoliveira / cloud-comparison.csv
Last active May 17, 2023 13:37
Cloud Comparison
Camada AWS Azure GCP
Serviço de computação EC2 Virtual Machines Compute Engine
Container ECS Azure Container Services Google App Engine
Service Mesh Istio on Amazon EKS Istio in Azure Kubernetes Service Istio on Google Kubernetes Engine
Disks Amazon Elastic Block Store (EBS) Azure Managed Disks Persistent Disk
VMware VMware Cloud on AWS Azure VMware Solution VMware Engine
Logs Amazon CloudWatch Logs Azure Monitor Logs Cloud Logging
Logs de auditoria Amazon Cloud Trail Azure Audit Logs Cloud Audit Logs
Monitoração de redes Cloudwatch Azure Network Watcher Network Intelligence Center
Performance tracing X-Ray Azure Monitor Application Insights Cloud Trace
@bst27
bst27 / gitea-backup.sh
Created August 18, 2020 07:15
A Gitea backup script for Docker: It creates a .zip backup of Gitea running inside Docker and moves the backup file to the current working directory.
#!/bin/bash
# This script creates a .zip backup of gitea running inside docker and copies the backup file to the current working directory
echo "Creating gitea backup inside docker containter ..."
docker exec -u git -it -w /tmp $(docker ps -qf "name=gitea_server_1") bash -c '/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /tmp/gitea-dump.zip'
echo "Copying backup file from the container to the host machine ..."
docker cp $(docker ps -qf "name=gitea_server_1"):/tmp/gitea-dump.zip /tmp