This is the set of questions presented on The Well-Architected Framework whitepaper designed to evaluate how well your architecture is aligned with AWS best practices.
- How are you encrypting and protecting your data at rest?
| #!/bin/sh | |
| # NOTE: | |
| # Make sure that the value of Name, Type, TTL are the same with your DNS Record Set | |
| HOSTED_ZONE_ID=<YOUR_HOSTED_ZONE_ID> | |
| RESOURCE_VALUE=<YOUR_DNS_RESOURCE_VALUE-ex:IP or dns> | |
| DNS_NAME=<YOUR_DNS_NAME-ex: subdomain.domain.com> | |
| RECORD_TYPE=<DNS_RECORD_TYPE-ex: A, CNAME> | |
| TTL=<TTL_VALUE> |
| {"lastUpload":"2020-08-08T10:13:59.555Z","extensionVersion":"v3.4.3"} |
| trait Car { | |
| val doorsNb: Int | |
| override def equals(a: Any) = { | |
| a match { | |
| case c: Car => doorsNb == c.doorsNb | |
| case other => false | |
| } | |
| } | |
| } |
Below are a set of best practices that I recommend for most customers. This information is based on my experience helping hundreds of Azure Redis customers investigate various issues.
| import numpy as np | |
| from scipy.signal import find_peaks | |
| from moviepy.editor import VideoFileClip, concatenate | |
| import matplotlib.pyplot as plt | |
| import sys | |
| import argparse | |
| ap = argparse.ArgumentParser() | |
| ap.add_argument("-v", "--video", help="path to the video file") | |
| args = vars(ap.parse_args()) |
| import numpy | |
| import perfplot | |
| perfplot.show( | |
| setup=lambda n: numpy.random.randint(0, 1000, n), | |
| kernels=[ | |
| lambda a: a[::-1], | |
| lambda a: numpy.ascontiguousarray(a[::-1]), | |
| lambda a: numpy.fliplr([a])[0] |
This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.
It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm