CloudFormation for Create FTP(vsftpd) with Ubuntu Server

Resources: AppNode: Type: AWS::EC2::Instance Properties: InstanceType: t2.micro ImageId: ami-81cefcfd KeyName: Ubuntu SecurityGroups: – !Ref AppNodeSG UserData: !Base64 | #!/bin/bash sudo su # install ftp service apt-get update -qq apt-get install vsftpd -y # backup ftp config file cp /etc/vsftpd.conf /etc/vsftpd.conf.orig # variable public_ip=$(curl ipinfo.io/ip) ftp_path=/var/ftp ftp_user=user ftp_password=password # add user for access ftp useradd -m […]

Continue Reading

Cloudformation for installing Postgresql and Docker

Click this link to download script  docker-postgresql Parameters: InstanceType: Type: String Default: t2.micro Description: Enter t2.micro, m1.small, or m1.large. Default is t2.micro. KeyPairName: Description: Amazon EC2 Key Pair Type: “AWS::EC2::KeyPair::KeyName” ImageId: Type: “AWS::EC2::Image::Id” Default: ami-81cefcfd Resources: AppNode: Type: AWS::EC2::Instance Properties: InstanceType: !Ref InstanceType ImageId: !Ref ImageId KeyName: !Ref KeyPairName SecurityGroups: – !Ref AppNodeSG UserData: !Base64 […]

Continue Reading