heartin's blog

Inserting Images Within Text in Drupal

By default you can add images to your page (either before body or after based on how you have configured the order. How can we insert an image within body.

Insert module can help.


  1. You need to install the module and enable it.

  2. Enable insert button and configuration by going to the fields setting for the content type (e.g. blog).


Read This First - Important Tips For Exam Preparation

There are many overlap between the topics for the exams AWS Certified Developer Associate and AWS Certified Architect Associate. While some people consider Developer Associate easier, others consider Architect Associate easier. While Architect Associate focuses more on decision making (which service or feature should I chose), Developer Associate focuses on APIs and features as is. While Developer Associate focuses more on DynamoDB, Architect Associate focuses on RDS more. Many other topics such as IAM, S3, EC2 and VPC are mostly common.

AWS Dev and Management Tools

  1. Each account is limited to a maximum of 200 stacks. Can contact AWS for any changes. There are no limits to the number of templates.

  2. CF Template, Parameter, Output, and Resource description fields are limited to 4096 characters.

  3. You can include up to 60 parameters and 60 outputs in a CF template.

  4. Standard EC2 monitoring by CloudWatch is 5 minutes.

AWS VPC and Networking Quick Notes (Numbers)

  1. NAT Gateways can auto scale upto 10 Gbps.

  2. Flow logs per single network interface, single subnet, or single VPC in a region = 2

  3. VPCs per region = 5

  4. Elastic IP addresses per region = 5

  5. Egress-only Internet gateways per region = 5

  6. Internet gateways per region = 5

DynamoDB Quick Notes (Numbers)

DynamoDB is very important for clearing AWS Certified Developer Associate.

Quick Notes (Numbers)

  1. DynamoDB synchronously replicates data across three facilities in an AWS Region.

  2. DynamoDB Streams captures a time-ordered sequence of item-level modifications in any DynamoDB table, and stores this information in a log for up to 24 hours.

  3. In DDB, the total value of an item (including all attribute names and values) cannot exceed 400KB.

AWS Database, Messaging and Application Services Quick Notes (Numbers)

  1. Elasticache for redis support both single-node and up to 15-shard clusters are available, enabling scalability to up to 3.55 TiB of in-memory data.

  2. For standard SQS queues, there can be a maximum of 120K inflight messages per queue. For FIFO SQS queues, max is 20K.

  3. The default message retention period in SQS is 4 days.

EC2 and Compute Services Quick Notes (Numbers)

  1. General Purpose SSD (gp2) EBS Volume - Ratio of 3 IOPS per GB upto 10,000 IOPS. Burst upto 3000 IOPS for volumes under 1GB.

  2. Provisioned IOPS SSD (io1) EBS Volume - For more than 10,000 IOPS. Upto 20,000 IOPS per volume.

Amazon S3 Quick Notes (Numbers)

  1. If a file upload is successful, you get 200 OK HTTP status code.

  2. HTTP status code for following error codes is 403 Forbidden: AccessDenied, AccountProblem, CrossLocationLoggingProhibited, InvalidAccessKeyId, InvalidObjectState, InvalidPayer, InvalidSecurity, NotSignedUp, RequestTimeTooSkewed, SignatureDoesNotMatch.

Amazon SNS - Worldwide SMS

With Worldwide SMS feature, you can use SNS to deliver SMS (text) messages to 200+ countries, and you do not require recipients to explicitly opt in like in other cases.

You must obtain prior permission from recipients to send SMS messages to their phone numbers, where required by local law and regulations.

You can also mark your SMS messages as Transactional to optimize for reliable delivery (e.g. one-time passwords (OTP) or PINs), or you can mark it as Promotional to optimize for cost savings.

Amazon SNS - Integration and Comparisons with AWS Services

SNS can be used with other AWS services such as SQS, EC2 and S3.

For example, notifications can be used to orchestrate an order processing system running on EC2, where notifications sent over HTTP can trigger real-time processing in related components such as an inventory system or a shipping service. By integrating Amazon SNS with Amazon SQS, all notifications delivered are also persisted in an SQS queue where they are processed by an auditing application at a future time.