GitXplorerGitXplorer
f

aws-sftp-server

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
076c0713da3a10b95336537fff183f3870169f8a

Merge branch 'master' of https://github.com/fortunecookiezen/aws-sftp-server into master

ffortunecookiezen committed 4 years ago
Unverified
da0c5f4a7c2fc06f51f9103f58b6cb44c39a8188

adding vpc variant of this template

ffortunecookiezen committed 4 years ago
Verified
2dd237bebe6a0e0dc52da6d5b820b55753e2abba

Update README.md

ffortunecookiezen committed 5 years ago
Verified
e2ae50a4a141538dbf59c67bfe31f9dcac36ff55

Update README.md

ffortunecookiezen committed 5 years ago
Unverified
aaf8ad0f573213be66d8448678724fd7d52f738e

added more to Jenkinsfile

ffortunecookiezen committed 5 years ago
Unverified
f4edbd32858e53ac7f78495c3e2f314a5d6c862a

added more to Jenkinsfile

ffortunecookiezen committed 5 years ago

README

The README file for this repository.

aws-sftp-server

CloudFormation Templates for AWS Transfer sftp server

There are two parts to this:

  1. Create the AWS Transfer SFTP Service in the account
  2. Create S3 bucket and transfer user

Creating the AWS Transfer SFTP Server

Apply the template sftp-server.yaml in your account. It creates an AWS Transfer sftp server instance and an IAM role for logging that uses the AWSTransferLoggingAccess and CloudWatchFullAccess aws-managed policies.

Creating the S3 Bucket and AWS Transfer users

Apply the template sftp-user.yaml in your account. It creates an S3 bucket, an sftp bucket user role, and an AWS Transfer user with a proper scope down policy limiting the user's access to the new bucket. To create the SFTP user, you will need the user's public key.

Current Status

  • sftp-server.yaml works and is tested.
  • sftp-user.yaml works and is tested.

ToDo:

  • Add S3 Bucket Creation example
  • Add Transfer::User creation example
  • Add exports to the stack so that users and buckets can be split from server

old notes left for context, I'll clean this up later.

Create the scope down policy

createScopeDownPolicy.sh and TransferUserScopeDownPolicy.json are used to create an AWS IAM scope down policy as recommended for optimal user security.

edit _createScopeDownPolicy.sh and set your region, then execute the script passing the account profile for the account you are using.