This repository contains AWS CloudFormation templates for deploying Akaunting, a free and open-source accounting software, on AWS Free Tier compatible resources.
Akaunting is a modern accounting software designed for small businesses and freelancers. This project provides automated infrastructure deployment using AWS CloudFormation, ensuring:
- Cost-effective deployment within AWS Free Tier limits
- Secure infrastructure configuration
- Automated installation and configuration
- Production-ready deployment
The infrastructure includes:
- VPC with public and private subnets
- EC2 t2.micro instance (Free Tier eligible)
- MariaDB database on the EC2 instance
- Security groups for appropriate network access
- IAM roles with minimal required permissions
- Elastic IP for stable access
- Go to AWS CloudFormation console
- Click "Create stack" > "With new resources (standard)"
- Choose "Upload a template file"
- Upload
akaunting-combined.yaml - Enter stack details:
- Stack name:
akaunting-stack - DBPassword: Create a secure password (e.g.,
Akaunting2024!) - EnvironmentType: Choose from development, staging, or production
- KeyName: Select an existing EC2 key pair for SSH access
- Stack name:
- Click through the next screens, acknowledge IAM capabilities
- Click "Create stack"
For more customized deployments, you can use the individual templates:
- Deploy
vpc.yamlfirst - Deploy
ec2.yamlusing the outputs from the VPC stack - (Optional) Deploy
rds.yamlif you prefer an external database
- EC2 instance is configured with security groups allowing only necessary traffic
- HTTPS can be enabled by adding a certificate (see Next Steps)
- All passwords and credentials can be customized during deployment
- OS updates are automatically applied during installation
- Database backups should be configured separately (see Next Steps)
- For production use, consider adding additional security measures
All resources are configured to stay within AWS Free Tier limits:
- EC2: t2.micro (750 hours/month free)
- Storage: Under 30GB total
- Data Transfer: Within free tier limits
- Enable HTTPS: Use AWS Certificate Manager and configure SSL/TLS
- Implement Backups: Set up automated database backups
- Monitoring: Add CloudWatch alarms for resource monitoring
- High Availability: Implement multi-AZ deployment for production
- CI/CD Pipeline: Set up automated deployment pipeline
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
