docs: documentación completa y diagramas de arquitectura
- Agregar DOCUMENTACION_CAMBIOS_COMPLETOS.md con todos los cambios realizados - Crear diagrama-arquitectura-aws.excalidraw: Arquitectura completa AWS - Crear diagrama-pipeline-cicd.excalidraw: Flujo CI/CD Bitbucket to AWS - Crear diagrama-seguridad-acceso.excalidraw: Seguridad y métodos de acceso Refs: Documentación Mayo 2026
This commit is contained in:
@@ -0,0 +1,394 @@
|
||||
{
|
||||
"type": "excalidraw",
|
||||
"version": 2,
|
||||
"source": "https://excalidraw.com",
|
||||
"elements": [
|
||||
{
|
||||
"id": "title",
|
||||
"type": "text",
|
||||
"x": 300,
|
||||
"y": 20,
|
||||
"width": 600,
|
||||
"height": 40,
|
||||
"text": "Seguridad y Acceso - Proyectosacc PROD",
|
||||
"fontSize": 28,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "internet",
|
||||
"type": "ellipse",
|
||||
"x": 50,
|
||||
"y": 120,
|
||||
"width": 120,
|
||||
"height": 80,
|
||||
"backgroundColor": "#e7f5ff",
|
||||
"strokeColor": "#1971c2",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "internet_text",
|
||||
"type": "text",
|
||||
"x": 60,
|
||||
"y": 140,
|
||||
"width": 100,
|
||||
"height": 40,
|
||||
"text": "Internet",
|
||||
"fontSize": 16,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "cloudfront_box",
|
||||
"type": "rectangle",
|
||||
"x": 250,
|
||||
"y": 120,
|
||||
"width": 160,
|
||||
"height": 80,
|
||||
"backgroundColor": "#e7f5ff",
|
||||
"strokeColor": "#1971c2",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "cloudfront_text",
|
||||
"type": "text",
|
||||
"x": 260,
|
||||
"y": 135,
|
||||
"width": 140,
|
||||
"height": 50,
|
||||
"text": "CloudFront\\nCDN + WAF",
|
||||
"fontSize": 14,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "ssh_restricted",
|
||||
"type": "rectangle",
|
||||
"x": 250,
|
||||
"y": 250,
|
||||
"width": 160,
|
||||
"height": 80,
|
||||
"backgroundColor": "#ffc9c9",
|
||||
"strokeColor": "#c92a2a",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "ssh_restricted_text",
|
||||
"type": "text",
|
||||
"x": 260,
|
||||
"y": 260,
|
||||
"width": 140,
|
||||
"height": 60,
|
||||
"text": "SSH Restringido\\nSolo México IPs\\nPassphrase req.",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#c92a2a",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "session_manager",
|
||||
"type": "rectangle",
|
||||
"x": 450,
|
||||
"y": 250,
|
||||
"width": 160,
|
||||
"height": 80,
|
||||
"backgroundColor": "#d3f9d8",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "session_manager_text",
|
||||
"type": "text",
|
||||
"x": 460,
|
||||
"y": 260,
|
||||
"width": 140,
|
||||
"height": 60,
|
||||
"text": "Session Manager\\nAWS Systems\\nManager",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "ec2_server",
|
||||
"type": "rectangle",
|
||||
"x": 680,
|
||||
"y": 120,
|
||||
"width": 200,
|
||||
"height": 120,
|
||||
"backgroundColor": "#fff3bf",
|
||||
"strokeColor": "#f08c00",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "ec2_server_text",
|
||||
"type": "text",
|
||||
"x": 690,
|
||||
"y": 130,
|
||||
"width": 180,
|
||||
"height": 100,
|
||||
"text": "EC2 PROD\\ni-02428e733083ea877\\n78.13.201.205\\nUsuario: thoth\\nSudo: NOPASSWD",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "rds_db",
|
||||
"type": "rectangle",
|
||||
"x": 680,
|
||||
"y": 300,
|
||||
"width": 200,
|
||||
"height": 80,
|
||||
"backgroundColor": "#e7f5ff",
|
||||
"strokeColor": "#1971c2",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "rds_db_text",
|
||||
"type": "text",
|
||||
"x": 690,
|
||||
"y": 310,
|
||||
"width": 180,
|
||||
"height": 60,
|
||||
"text": "RDS MariaDB\\nproyectosacc-db-prod\\nEncrypted + Backup",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "security_group",
|
||||
"type": "rectangle",
|
||||
"x": 930,
|
||||
"y": 120,
|
||||
"width": 180,
|
||||
"height": 100,
|
||||
"backgroundColor": "#f3d9fa",
|
||||
"strokeColor": "#862e9c",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "security_group_text",
|
||||
"type": "text",
|
||||
"x": 940,
|
||||
"y": 130,
|
||||
"width": 160,
|
||||
"height": 80,
|
||||
"text": "Security Groups\\n✓ Puerto 80/443\\n✓ Puerto 8080-8085\\n✗ SSH 0.0.0.0/0",
|
||||
"fontSize": 11,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "left",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "iam_role",
|
||||
"type": "rectangle",
|
||||
"x": 930,
|
||||
"y": 250,
|
||||
"width": 180,
|
||||
"height": 80,
|
||||
"backgroundColor": "#ffd43b",
|
||||
"strokeColor": "#e67700",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "iam_role_text",
|
||||
"type": "text",
|
||||
"x": 940,
|
||||
"y": 260,
|
||||
"width": 160,
|
||||
"height": 60,
|
||||
"text": "IAM Roles\\nEC2 Role\\nSSM Permissions\\nS3 Access",
|
||||
"fontSize": 11,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "left",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "bitbucket_pipeline",
|
||||
"type": "rectangle",
|
||||
"x": 50,
|
||||
"y": 400,
|
||||
"width": 180,
|
||||
"height": 80,
|
||||
"backgroundColor": "#a5d8ff",
|
||||
"strokeColor": "#1971c2",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "bitbucket_pipeline_text",
|
||||
"type": "text",
|
||||
"x": 60,
|
||||
"y": 410,
|
||||
"width": 160,
|
||||
"height": 60,
|
||||
"text": "Bitbucket Pipeline\\nOIDC Auth\\nAuto-deploy",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "oidc_auth",
|
||||
"type": "rectangle",
|
||||
"x": 300,
|
||||
"y": 400,
|
||||
"width": 160,
|
||||
"height": 80,
|
||||
"backgroundColor": "#d3f9d8",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"strokeWidth": 2,
|
||||
"fillStyle": "solid"
|
||||
},
|
||||
{
|
||||
"id": "oidc_auth_text",
|
||||
"type": "text",
|
||||
"x": 310,
|
||||
"y": 410,
|
||||
"width": 140,
|
||||
"height": 60,
|
||||
"text": "AWS SSO/OIDC\\nNo credentials\\nAutomatic",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "arrow_internet_cf",
|
||||
"type": "arrow",
|
||||
"x": 170,
|
||||
"y": 160,
|
||||
"points": [[0,0], [80,0]],
|
||||
"strokeColor": "#495057",
|
||||
"strokeWidth": 2
|
||||
},
|
||||
{
|
||||
"id": "arrow_cf_ec2",
|
||||
"type": "arrow",
|
||||
"x": 410,
|
||||
"y": 160,
|
||||
"points": [[0,0], [70,0]],
|
||||
"strokeColor": "#495057",
|
||||
"strokeWidth": 2
|
||||
},
|
||||
{
|
||||
"id": "arrow_ssh_ec2",
|
||||
"type": "arrow",
|
||||
"x": 410,
|
||||
"y": 290,
|
||||
"points": [[0,0], [270,0]],
|
||||
"strokeColor": "#c92a2a",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "arrow_ssm_ec2",
|
||||
"type": "arrow",
|
||||
"x": 610,
|
||||
"y": 290,
|
||||
"points": [[0,0], [70,0]],
|
||||
"strokeColor": "#2b8a3e",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "arrow_ec2_rds",
|
||||
"type": "arrow",
|
||||
"x": 780,
|
||||
"y": 240,
|
||||
"points": [[0,0], [0,60]],
|
||||
"strokeColor": "#495057",
|
||||
"strokeWidth": 2
|
||||
},
|
||||
{
|
||||
"id": "arrow_bb_oidc",
|
||||
"type": "arrow",
|
||||
"x": 230,
|
||||
"y": 440,
|
||||
"points": [[0,0], [70,0]],
|
||||
"strokeColor": "#2b8a3e",
|
||||
"strokeWidth": 2
|
||||
},
|
||||
{
|
||||
"id": "arrow_oidc_aws",
|
||||
"type": "arrow",
|
||||
"x": 460,
|
||||
"y": 440,
|
||||
"points": [[0,0], [220,0]],
|
||||
"strokeColor": "#2b8a3e",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "dashed"
|
||||
},
|
||||
{
|
||||
"id": "prevent_destroy_label",
|
||||
"type": "text",
|
||||
"x": 680,
|
||||
"y": 420,
|
||||
"width": 200,
|
||||
"height": 60,
|
||||
"text": "🛡️ Lifecycle:\\nprevent_destroy = true",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "ssh_label",
|
||||
"type": "text",
|
||||
"x": 330,
|
||||
"y": 340,
|
||||
"width": 200,
|
||||
"height": 30,
|
||||
"text": "❌ Cerrado por defecto",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#c92a2a",
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
{
|
||||
"id": "ssm_label",
|
||||
"type": "text",
|
||||
"x": 520,
|
||||
"y": 340,
|
||||
"width": 200,
|
||||
"height": 30,
|
||||
"text": "✅ Acceso recomendado",
|
||||
"fontSize": 12,
|
||||
"fontFamily": 5,
|
||||
"textAlign": "center",
|
||||
"strokeColor": "#2b8a3e",
|
||||
"backgroundColor": "transparent"
|
||||
}
|
||||
],
|
||||
"appState": {
|
||||
"viewBackgroundColor": "#ffffff",
|
||||
"gridSize": 20
|
||||
},
|
||||
"files": {}
|
||||
}
|
||||
Reference in New Issue
Block a user