Turn Monolith server of LAMP stack using php-fpm that also uses MEAN stack into microservices

Hits: 1221 The project is to make microservices in place of a monolithic nodejs application stack. Apache Web Server, php-fpm, nodejs application server with mongodb, mysql backend. This got divided into 2 seperate projects, of LAMP and MEAN stack. It can be tweaked to have the php-fpm LAMP read/Write from the MongoDB Database and to have …

How to Install and use Lsyncd on CentOS 7 / RHEL 7 / Amazon Linux

Hits: 1912To install lsync on Amazon Linux fist add EPEL repositories: sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm also see: http://www.marcburrows.com/using-lsyncd-with-aws/ Allow the Master Server to connect to the slave server without a password On the master server, log in through putty and run the following: ssh-keygen -t rsa You will get asked to enter the file in which …

Configure a DNS record set change-resource-record-sets — AWS CLI 1.15.35 Command Reference

Hits: 4423To list your resources aws route53 list-hosted-zones aws route53 list-resource-record-sets –hosted-zone-id BLABLALA –query “ResourceRecordSets[?Name == ‘example.domain.’]” Use this output as the base for rebuilding the input Json file. You can write a Jason File to input into this aws route53 change-resource-record-sets –cli-input-json –cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the …

Setup Hmailserver  with ssl works with Outlook 2016 but not with Roundcube 

Hits: 1517How to generate custom self-signed SSL certificates and apply it to Dovecot – Plesk Help Center, producing the certs for HmailServer worked using these directions for OpenSSl for windows. http://slproweb.com/products/Win32OpenSSL.html cd into install dir c:\openssl-win32\bin use .\ before each command.   I followed Generate root private key: # openssl genrsa -out rootCA.key 2048 Generate …

Charming news from AWS Marketplace: MongoDB Swarm Multi Region. It has become so easy to install a replicated MongoDb

Hits: 210Replicated MongoDB can be in 3 different Regions or in a single region. Replication allows your data to be secure and fast in different regions. You can write to the Primary instance and read from the replicas. Json output allows for speedy response time and speedy development time. So don’t waste your own time …

Receiving Email with Amazon SES – Amazon Simple Email Service

Hits: 694The next project is to setup servers that receive email via Amazon SES. The following links are a start. Also see: How to implement inbound email on Amazon AWS SES? – Stack Overflow Source: Receiving Email with Amazon SES – Amazon Simple Email Service https://docs.aws.amazon.com/cli/latest/reference/ses/index.html Also see: https://medium.com/@ashan.fernando/forwarding-emails-to-your-inbox-using-amazon-ses-2d261d60e417 https://stackoverflow.com/questions/20205039/how-to-implement-inbound-email-on-amazon-aws?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa https://github.com/arithmetric/aws-lambda-ses-forwarder The following link looks like …

How to clean up mysql installation on centos / Amazon Linux ? I want to make simpler servers available for my Charming Customers

Hits: 236 Some time we faces issues with MySQL installation on Linux machine. If we simply remove MySQL packages and re-install doesn’t fixes the issue, in that case old settings may still exists on server which again affects new install. In that case first uninstall MySQL completely from system and erase all settings of old …

Can’t delete IAM role because policies are attached · Harder to remove IAM than to create it

Hits: 497I am trying to uninstall a role , policy and profile in AWS command line. I made a script that creates the role, etc but need to make an uninstall script. ~/.local/bin/aws iam create-role –role-name CharmingMachineBashRole –assume-role-policy-document file:///usr/local/sbin/AllowSecGroupCreate.json ~/.local/bin/aws iam attach-role-policy –role-name CharmingMachineBashRole –policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess ~/.local/bin/aws iam create-instance-profile –instance-profile-name CharmingMachineBash-Instance-Profile ~/.local/bin/aws iam add-role-to-instance-profile –role-name …

RoundCube with Mail Server on Windows – HmailServer Superior to GSuite, Office 365 or Yahoo Mail

Hits: 3594RoundCube with Mail Server on Windows is a simple solution for your organization’s Email needs Switch from Gsuite to Charming Full Email Server HmailServer with WebMail Why would you want to switch from Gsuite, Yahoo mail, Office 365, etc. to your own cloud host using a Pre-configured HmailServer  with Roundcube? Gsuite is difficult to …

HMS Backup Script – hMailServer forum

Hits: 758 This is my advice for using SES along side your new Charming Full email server. HmailServer does not currently have a catchall relay smtp function like Postfix or Sendmail in Linux. You can set up Roundcube to send ALL messages via SES with the following settings. Edit C:\inetpub\wwwroot\webmail\config\config.inc.php edit the line $config[‘smtp_server’]  to the following. …

Extending a Windows File System after Resizing the Volume – Amazon Elastic Compute Cloud

Hits: 602There are several short steps that you need to follow to enlarge your EBS volume on a Windows EC2 instance. After expanding the EBS Volume from the EC2 console, Windows needs to know whether you want it as the same Drive letter or to exapand the existing one.   https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html  Modifying an EBS Volume …