Deploying to Amazon EFS With AWS CodeBuild & AWS CodePipeline
- by Emre Yilmaz
- Aug 31, 2020
- AWS • DevOps • AWS CodePipeline • Amazon EFS
You can use Amazon Elastic File System (EFS) as a shared file system between your Amazon EC2 instances to benefit from its scalability and durability. You can simply deploy your files to an Amazon EFS file system and mount it on dozens of Amazon EC2 instances in the same VPC. Then, you only need to deploy to your EFS file system when you have an update.
Now, what about automating your deployments to Amazon EFS? AWS CodePipeline does not have a deploy action integrated with Amazon EFS file systems. However, your AWS CodeBuild containers can mount EFS file systems. So you can copy your files and folders directly to your EFS file system after building them. In this post, I will talk about creating CI/CD pipelines using AWS CodePipeline and CodeBuild to build and automate your content to Amazon EFS file systems.
Continue reading the Deploying to Amazon EFS With AWS CodeBuild & AWS CodePipeline blog post.