Skip to main content

Posts

Showing posts from July, 2019

Setup Multi-factor authentication (MFA) on AWS User Accounts

Setup Multi-factor authentication (MFA) on AWS User Accounts.  AWS Multi-Factor Authentication (MFA) is a simple best practice that adds an extra layer of protection on top of your user name and password. With MFA enabled, when a user signs in to an AWS website, they will be prompted for their user name and password (the first factor—what they know), as well as for an authentication response from their AWS MFA device (the second factor—what they have). Taken together, these multiple factors provide increased security for your AWS account settings and resources. 1. Logged In to your AWS console IAM 2. Activate MFA (you need to be root user) Make sure you are logged in using root account. 3. Assign MFA to device Assign MFA device Choose MFA device 4. Setup your MFA device by scanning the barcode Scan Code 5. Install Google Authenticator on your device Installing Google Authenticator Installing Google Authenticator Installin...

Getting Started Sulu CMS

Installation Tahap-1 Instalasi composer create-project sulu/sulu-minimal my-project -n Logs instalasi ada  disini . Tahap-2 Set GIT cd my-project git init git add . git commit -m "Initial commit" Logs ada disini . Tahap-3 Basic Setup Edit example.com.xml jadi my-project1.com.xml Edit file my-project1.com.xml Caution Changing the  <key>  of a webspace later on causes complications. We recommend to decide what key to use before you build the database in the next step. We’ll  return to webspaces  later in this book. Tahap-4 Setup Database (MySQL) vim app/config/parameters.yml Tahap-5  Build Project with MySQL sudo apt-get install php7.2-mysql bin/adminconsole sulu:build dev Tahap-6 Build with MySQL Failed Errors  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for...

Bagaimana Menjadi Software Engineer yang Baik: 6 Tips Yang Tidak dipelajari di Kampus

Matthew/Wikimedia Commons Menjadi pengembang perangkat lunak kini menjadi salah satu pilihan karir yang cukup menjanjikan. Selain merupakan perkerjaan yang cukup menantang, pekerjaan ini juga terus-menerus berkembang dan juga memberikan kepuasan tersendiri bagi pelakunya. Selain itu permintaan atas pengembang perangkat lunak juga cukup besar tentunya menjadi daya tarik tersendiri. Akan tetapi ada beberapa aspek yang tidak dipelajari dikampus tentang bagaimana menjadi pengembang perangkat lunak yang baik, aspek-aspek yang akan membantu Anda untuk menggapai sukses - Terlepas apakah Anda sudah bekerja atau baru mau memulai mencari pekerjaan pertamamu. Berikut adalah tips yang menurut saya sangat penting berdasarkan pengalaman saya selama 12 tahun bekerja sebagai pengembang perangkat lunak. 1. Menjadi Developer yang Baik Lebih dari Sekedar Bisa Coding Mungkin Anda pernah berfikir sudah cukup hanya dengan mahir berbagai bahasa pemrograman seperti C++, JavaScript at...

Setup (AWS) Amazon Elastic Beanstalk to work with Let's Encrypt.

What is Lets Encrypt? Let’s Encrypt is a  free ,  automated , and  open  Certificate Authority. To enable HTTPS on your website, you need to get a certificate (a type of file) from a Certificate Authority (CA). Let’s Encrypt is a CA. In order to get a certificate for your website’s domain from Let’s Encrypt, you have to demonstrate control over the domain. With Let’s Encrypt, you do this using software that uses the  ACME protocol , which typically runs on your web host. Setup Lets Encrypt for your PHP Beanstalk Application. Prepare your zipped project. My project folders and files My zipped project. Create .ebextensions Folder Before make a zipped project make sure you already have  .ebextensions/*. config.   Create  https.config file under .ebextensions . you can use your own file name for your *.config files. Resources: sslSecurityGroupIngress: Type: AWS::EC2::SecurityGroupIngress Properties...

Cannot connect to AWS instance created by Beanstalk

I got the following error while trying to connect to the AWS instance. Make sure you already have a keypair that created before you create an instance and fyi the keypair is only able to download once after creation ( how to create AWS keypair ). First Error Warning You may not be able to connect to this instance as ports 22 may need to be open in order to be accessible. Your current security groups don't have ports 22 open. This error caused by unopened port 22. Click Security Group Click Security Group Link. Click "Edit Inbound Rules". Add new inbound rule Second Error Instance is not associated with a key pair This instance is not associated with a key pair. Without a key pair you will need to log into this instance using a valid username and password combination. Enter Beanstalk security configuration page. Services -> Elastic Beanstalk -> {Choose the application} -> Configuraion -> Security. Elastic Beanssta...