Skip to main content

Note aws 4

AWS Elastic Beanstalk has two types of environment tiers to support different types of web applications. Web servers are standard applications that listen for and then process HTTP requests, typically over port 80. Workers are specialized applications that have a background processing task that listens for messages on an Amazon SQS queue. Worker applications post those messages to your application by using HTTP.
aha,

build.yml
version: 0.1
phases:
  build:
    commands:
      - echo Build started on `date`
      - cp ./config/firebase-develop.json.example ./config/firebase-develop.json
artifacts:
  files:
    - '**/*'

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.


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.

https://blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/

Changes to option EC2KeyName settings will not take effect immediately. Each of your existing EC2 instances will be replaced and your new settings will take effect then.
aws:autoscaling:launchconfiguration:EC2KeyName "null" => "osx-test-ec2-memcached"

https://www.sumologic.com/aws/elb/aws-elastic-load-balancers-classic-vs-application/

https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-healthchecks.html


https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-cloudwatch-metrics.html

Try it in case need run bg task, beanstalk have Web, Worker instance, may be worker instance work with console ENV (that env manageble on Web console)
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/https-storingprivatekeys.html
https://serverfault.com/questions/826719/how-to-create-a-url-in-a-wordpress-that-will-return-code-200

https://www.reddit.com/r/aws/comments/4u7os2/which_is_speedier_aws_cloudfront_or_cloudflare/
https://gist.githubusercontent.com/prein/3b36b66fdc1c4cc440c8afe64157f35d/raw/8e420496bfade7b299df70d583f7f9d7415c09d5/copy_dns_zones.rb
http://devopsblues.com/cloudflare-to-aws-route53-and-cloudfront-migration/

https://support.google.com/domains/answer/6010092?hl=en&_ga=2.56730090.1727735880.1548143105-1983811966.1548143105

https://en.wikipedia.org/wiki/CNAME_record
https://www.namecheap.com/support/knowledgebase/article.aspx/9607/2210/how-to-set-up-dns-records-for-your-domain-in-cloudflare-account

https://en.wikipedia.org/wiki/Real-Time_Messaging_Protocol

Alternative GennyMotion
http://www.android-x86.org/
https://stackoverflow.com/questions/517463/how-can-i-install-a-ipa-file-to-my-iphone-simulator

Did you know you have access to New Relic Insights during your New Relic APM trial?

With Insights, you can write custom queries using New Relic Query Language (NRQL) and create visualizations and dashboards of New Relic data that matters to you and your team. To learn more about NRQL and New Relic Insights, head to our documentation center.

Want to try it now? Copy and paste this query into the Insights query tool to see how many transactions your applications have reported in the last 3 days:

SELECT count(*) FROM Transaction SINCE 3 day ago FACET appName TIMESERIES AUTO

https://apple.stackexchange.com/questions/138941/how-do-i-stop-the-adobe-creative-cloud-app-from-auto-launching-on-login

https://stackoverflow.com/questions/46696036/can-aws-codepipeline-track-multiple-feature-branches-and-run-tests-on-each

https://dba.stackexchange.com/questions/174957/how-to-safely-stop-mysqldump

https://stackoverflow.com/questions/18104843/mysql-query-with-large-number-of-records-gets-killed

https://dba.stackexchange.com/questions/19532/safest-way-to-perform-mysqldump-on-a-live-system-with-active-reads-and-writes

http://www.inanzzz.com/index.php/post/x7gq/how-to-backup-only-triggers-and-stored-procedures-with-mysqldump
http://www.mysqltutorial.org/listing-stored-procedures-in-mysql-database.aspx

https://stackoverflow.com/questions/26015160/deterministic-no-sql-or-reads-sql-data-in-its-declaration-and-binary-logging-i
http://getasysadmin.com/2011/06/amazon-rds-super-privileges/
RDS parameter group in right tab.

https://dba.stackexchange.com/questions/19532/safest-way-to-perform-mysqldump-on-a-live-system-with-active-reads-and-writes

http://docs.amazonaws.cn/en_us/elasticbeanstalk/latest/dg/https-storingprivatekeys.html
https://stackoverflow.com/questions/67093/how-do-i-quickly-rename-a-mysql-database-change-schema-name

WP is_ssl() function in wp-includes/functions.php
4063 /**
4064  * Determine if SSL is used.
4065  *
4066  * @since 2.6.0
4067  *
4068  * @return bool True if SSL, false if not used.
4069  */
4070 function is_ssl() {
4071         if ( isset($_SERVER['HTTPS']) ) {
4072                 if ( 'on' == strtolower($_SERVER['HTTPS']) )
4073                         return true;
4074                 if ( '1' == $_SERVER['HTTPS'] )
4075                         return true;
4076         } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
4077                 return true;
4078         }
4079         // return false;
4080         // Fixme hacky way to by pass https/ssl check
4081         return true;
4082 }

Sometime we have to forget all what we have learned and ask some very 'ordinary' question :)
https://www.quora.com/Why-does-an-SSL-certificate-cost-money
https://snippets.webaware.com.au/snippets/wordpress-is_ssl-doesnt-work-behind-some-load-balancers/

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-endtoend.html
http://docs.amazonaws.cn/en_us/elasticbeanstalk/latest/dg/https-singleinstance-php.html
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https-elb.html
https://dev.to/jignesh_simform/how-to-select-the-right-database-for-your-androidios-application-2aca

https://blog.lawrencemcdaniel.com/wordpress-aws-elb-ssl/
https://www.podcastinit.com/episode-9-david-baumgold-on-flask-dance-webhookdb-and-open-edx/

https://pushalert.co/blog/free-ssl-easy-setup-guide/
free ssl with cloudflare ? is there something wrong ?

Many info ab RewriteCond, If in apc config here
https://stackoverflow.com/questions/14693852/how-to-force-https-on-elastic-beanstalk

not tested
https://www.essycode.com/posts/force-https-elastic-beanstalk-site-wordpress/
https://aws.amazon.com/premiumsupport/knowledge-center/redirect-http-https-elb/?icmpid=support_rt_kc_videos
https://medium.com/in-development/how-to-add-ssl-certificates-to-elastic-beanstalk-and-cloudfront-452f68591ca5

https://blog.lawrencemcdaniel.com/wordpress-aws-elb-ssl/


https://support.dbvisit.com/hc/en-us/articles/216514817-MySQL-Error-Lock-wait-timeout-exceeded-try-restarting-transaction

Comments

Popular posts from this blog

Rand mm 10

https://stackoverflow.com/questions/2447791/define-vs-const Oh const vs define, many time I got unexpected interview question. As this one, I do not know much or try to study this. My work flow, and I believe of many programmer is that search topic only when we have task or job to tackle. We ignore many 'basic', 'fundamental' documents, RTFM is boring. So I think it is a trade off between the two way of study language. And I think there are a bridge or balanced way to extract both advantage of two method. There are some huge issue with programmer like me that prevent we master some technique that take only little time if doing properly. For example, some Red Hat certificate program, lesson, course that I have learned during Collage gave our exceptional useful when it cover almost all topic while working with Linux. I remember it called something like RHEL (RedHat Enterprise Linux) Certificate... I think there are many tons of documents, guide n books about Linux bu

Martin Fowler - Software Architecture - Making Architecture matter

  https://martinfowler.com/architecture/ One can appreciate the point of this presentation when one's sense of code smell is trained, functional and utilized. Those controlling the budget as well as developer leads should understand the design stamina hypothesis, so that the appropriate focus and priority is given to internal quality - otherwise pay a high price soon. Andrew Farrell 8 months ago I love that he was able to give an important lesson on the “How?” of software architecture at the very end: delegate decisions to those with the time to focus on them. Very nice and straight-forward talk about the value of software architecture For me, architecture is the distribution of complexity in a system. And also, how subsystems communicate with each other. A battle between craftmanship and the economics and economics always win... https://hackernoon.com/applying-clean-architecture-on-web-application-with-modular-pattern-7b11f1b89011 1. Independent of Frameworks 2. Testable 3. Indepe