To be clear, the script you want the variables to be available to is also being called in your user-data script? It is important to make sure that you start a new shell session after creating the scripts in. This script will run at every bootup and your variable will be available to all users. the variable to a different value. Error using SSH into Amazon EC2 Instance (AWS), How to keep environment variables when using sudo, Set an environment variable in .htaccess and retrieve it in PHP, Set environment variables from file of key/value pairs, Setting Environment Variables for Node to retrieve. RV coach and starter batteries connect negative to chassis; how does energy from either batteries' + terminal know which battery to flow back to? Refer https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/hibernating-prerequisites.html for Hibernation prerequisits. Whether to stop or terminate an instance upon shutdown. Replace awsExampleRoleName with the role that you created earlier. If a law is new but its interpretation is vague, can the courts directly ask the drafters the intent and official interpretation of their law? Used with the AWS_WEB_IDENTITY_TOKEN_FILE and essentially the "password" for the access key. included as part of the values. I used a combination of the following tools: Here's the gist of the code below in case I update it in the future: https://gist.github.com/marcellodesales/a890b8ca240403187269. That makes no sense. Is email scraping still a thing for spammers, Incomplete \ifodd; all text was ignored after line, Dealing with hard questions during a software developer interview, The number of distinct words in a sentence. What else can I try? (additional info) How to install zsh and oh-my-zsh? You will have to devise a way to get these environment variables into whatever program needs to see them. environment variables in file. file must be hosted in Amazon S3. using the --output command line parameter. You can run the command on boot via cron, IN node js not working process.env.ENV is undefined, Just created an improved version of the solution provided above at, How to set an environment variable in Amazon EC2, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-retrieval, http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html, docs.aws.amazon.com/AWSEC2/latest/UserGuide/, https://gist.github.com/marcellodesales/a890b8ca240403187269, gist.github.com/marcellodesales/a890b8ca240403187269, The open-source game engine youve been waiting for: Godot (Ep. is there a chinese version of ex. Parameters can be found in the AWS documentation https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html#botocore.config.Config. I created an IAM role allowing. As a security best practice, pass sensitive information to containers as environment variables. used until the end of the current command prompt session, or until you set Why are physically impossible and logically impossible concepts considered separate in terms of probability? For more information, see the Output section of the rev2023.3.1.43269. However, when I look on the server, no such environment variable is set. Setting If a name is not provided in ARN format then the ListInstanceProfiles permission must also be granted. Tags are a way to organise your AWS resources. The idempotency token you provided when you launched the instance, if applicable. before falling back to the built-in search path. Making swapfile for t1.micro Amazon EC2 instance with Amazon Linux, Allow a group to su to a user without a password in Amazon Linux, AWS EFS: unable to mount on amazon linux using amazon-efs-utils, Mate doesn't load environment variable when using menu launcher, Install additional software in Amazon Linux, Persistent os-level environment variables in ubuntu-latest GitHub runner, Is email scraping still a thing for spammers. task definition. For more information, see Configuring your Java SE environment. How to combine multiple named patterns into one Cases? Where do you need these variables to be available? By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. Do EMC test houses typically accept copper foil in EUT? setting use_fips_endpoint and is overridden by the definition. Using setx to set an environment variable changes considerations apply. Specify an availability zone to use the default subnet it. If you do not provide this value, a session Incomplete \ifodd; all text was ignored after line. For more information about the Set environment variables on Mac OS X Lion, "UNPROTECTED PRIVATE KEY FILE!" 4. variable file. Specifies the path to a certificate bundle to use for HTTPS certificate Replace us-east-1 and awsExampleAccountID with the AWS Region and account where your parameters are stored. won't reload the bash. The opt/elasticbeanstalk/support/envvars file is then sourced by the stack to make the environment variables available to the application. value of the variable is used and subsequent values of duplicate variables To use it in a playbook, specify: amazon.aws.ec2_instance. The location where the instance launched, if applicable. This answer isn't related to the question. export VARIABLE_NAME=example_value on the front end of things, my php to retrieve the . Has Microsoft lowered its Windows 11 eligibility criteria? How to check if a variable is set in Bash, How to concatenate string variables in Bash. Whether to allow detailed CloudWatch metrics to be collected, enabling more detailed alerting. The The instance type size of the running instance. It will added for the other users' environments when they do the same or the next time they log in if they aren't currently logged in. If multiple environment files are specified and they contain the same I see that the script is a bash script. on-partial uses The subnet ID in which to launch the instance (VPC). If there is a scenario where you need to define the environment variables as well use it in the same bash session (same user-data process), then either you can add the variables to /etc/profile, /etc/environment or /home/ubuntu/.zshrc file. Repository (Sources) A list of block device mappings, by default this will always use the AMI root device so the volumes option is primarily for adding more storage. container agent to pull the environment variable file from Amazon S3. To set encoding different from the locale, use the Specifies the pager program used for output. Support for the EC2_URL environment variable has been deprecated and will be removed in a release after 2024-12-01. information on retries, see AWS CLI retries. For more information, see Using the Elastic Beanstalk Python platform. If your task is part of a service, update the service. How do I delete an exported environment variable? validation. When you run this script, it will set permanent AWS Access Keys as environment variables, prompt you for an MFA Token, do all the aws sts calls to use the MFA Token and assume an IAM Role, and set environment variables for you with your new Temporary Access Keys, all in a single command: eval "$(auth.sh)" terraform apply VARIABLE=VALUE format. required by enterprises that interact with the United States AssumeRole operation, and becomes part of the assumed role You can override this environment variable by using the --ca-bundle partial auto-prompt mode. I have not tried /home/ubuntu/.profile file BTW. For example, if it's bash, it will be called script.sh for example. This environment variable only applies to an assumed role with web Has 90% of ice around Antarctica disappeared in less than a decade? Find centralized, trusted content and collaborate around the technologies you use most. For more information on The index of the device on the instance for the network interface attachment. The ec2/userdata.ts file provides AMI base images with custom user data, including runtime environment variables. Terminate every running instance in a region. I've thought of sharing this as I've wasted enough time searching for the answer and finally figured it out. ForAmazon Linux 2 instances, see How do I use environment variables from an Elastic Beanstalk instance shell? This simplifies configuration of environment variables by editing or referencing centrally located files, instead of manual edits to environment variables as key value pairs across all your containers. Define string parameters (Encrypted with KMS or Unencrypted) in. Unlike the Lambda resource type however, the CloudFormation resource type AWS::EC2::Instance does not have an environment property.. UserData and roles that are allowed the DescribeTaskDefinition action for the 8. To check whether it is installed, run ansible-galaxy collection list. Sample: "2001:0db8:85a3:0000:0000:8a2e:0370:7334". Each dict item consists of a filter key and a filter value. default user. Delete the interface when the instance it is attached to is terminated. 3. Connect and share knowledge within a single location that is structured and easy to search. Go to your root directory and write command: You can see your bash_profile file and now press 'i' for inserting a lines, then add. So I found a solution that works for what I need. If purge_tags=true and tags is set, existing tags will be purged from the resource to match exactly what is defined by tags parameter. Private registry authentication for tasks, Declare default Here is the output from /var/log/cloud-init-output.log using -e -x. Set windows=True to use powershell instead of bash for the callback script. use, see Configuration settings and 2: yes user data scripts work, this is just an addition to a script that runs after that one. One or more IPv6 addresses associated with the network interface. Thanks for your answers. One of the more configurable approach to define environment variables for EC2 instances, is to use Systems Manager Parameter Store. How can I recognize one? The ID of the owner of the Elastic IP address. Specifies the secret key associated with the access key. How to combine multiple named patterns into one Cases? Good approachI found that a little bit cleaner syntax on what gets echoed within the quotes worked perfectly. If you've got a moment, please tell us what we did right so we can do more of it. Is variance swap long volatility of volatility? If defined, this environment variable overrides the value for the profile Rename .gz files according to names in separate txt-file. setting aws_session_token. The ec2_access_key alias has been deprecated and will be removed in a release after 2024-12-01. software library that complies with FIPS 140-2. Please refer to your browser's Help pages for instructions. Amazon Managed Streaming for Apache Kafka (Amazon MSK) is an event streaming platform that you can use to build asynchronous applications by decoupling producers and consumers. to the RoleSessionName parameter when the AWS CLI calls the Connect and share knowledge within a single location that is structured and easy to search. The private IPv4 address of the network interface. It is not included in ansible-core. 2023, Amazon Web Services, Inc. or its affiliates. Choose your launch type, and then choose Next step. Specifies the path to a file that contains an OAuth 2.0 access token or Note: You can also specify secrets in the log driver configuration. Passing sensitive data in plaintext can cause security issues, as it's discoverable in the AWS Management Console or through AWS APIs such as DescribeTaskDefinition or DescribeTasks.. As a security best practice, pass sensitive information to containers as environment variables. other command shells that are already running at the time you run the How do you parse and process HTML/XML in PHP? To learn more, see our tips on writing great answers. must use an .env file extension and there is a limit of ten files to a task Lately, it seems AWS Parameter Store is a better solution. See the below section Required IAM permissions. assume-role command. The AWS_SESSION_TOKEN, AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variables may also be used in decreasing order of preference. By accepting all cookies, you agree to our use of cookies to deliver and maintain our services and site, improve the quality of Reddit, personalize Reddit content and advertising, and measure the effectiveness of advertising. 4. Tag keys beginning with aws: are reserved by Amazon and can not be modified. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. So if you wanted to set your default text editor to a certain program, you'd do so like this in the file: https://wiki.archlinux.org/index.php/bash#Invocation. If an environment file is specified as a container override, it's used. Adding this to the init script of the node will add environment variables on launch. So what *is* the Latin word for chocolate? When attempting to retrieve credentials on an Amazon EC2 instance that has been This is an optional parameter. There are two settings that can In /startup.sh staging 2649? Making statements based on opinion; back them up with references or personal experience. How do I set a variable to the output of a command in Bash? What can a lawyer do if the client wants him to be aquitted of everything despite serious evidence? The Amazon Resource Name (ARN) of the instance profile. Tags are a way to organise your AWS resources. Instance type to use for the instance, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html. Browse other questions tagged, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide. Create an account to follow your favorite communities and start taking part in conversations. AWS STS session token for use with temporary credentials. One of image or image_id are required when instance is not already present. Environment properties aren't automatically exported to the shell (except for in stacks running PHP), even though they are present in the instance. aws ec2 describe-tags --filters "Name=resource-id,Values=i-5f4e3d2a" "Name=Value,Values=DB_PORT" Then you can use OS set environment variable command export DB_PORT=/what/you/got/from/the/previous/call You can run all that in your user-data script. variable, they're processed in order of entry. I put it in myself sometimes as it's just a force of habit but it doesn't hurt or affect anything. Are there conventions to indicate a new item in a list? The name of the key pair, if this instance was launched with an associated key pair. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. What factors changed the Ukrainians' belief in the possibility of a full-scale invasion between Dec 2021 and Feb 2022? The ID of the subnet for the network interface. A list of IPv4 addresses to assign to the network interface. container, Advanced container definition parameters- Environment. Store your sensitive information in either AWS Systems Manager Parameter Store or Secrets Manager. as in example? I recommend using an IAM role for your instance - this will allow you to do the API call without specifying the credentials. The AWS CLI default. Where would the .htaccess file be located on my EC2 instance? Specifies an AWS access key associated with an IAM account. How can I explain to my manager that a project he wishes to undertake cannot be performed by the team? You can pass environment variables to your containers in the following ways: Individually using the environment container definition Filter names and values are case sensitive. Resource parameter to scope the permission to the Amazon S3 buckets that System application in Control If the state is optional (v1 and v2), instance metadata can be retrieved with or without a signed token header on request. You can't specify the secret I ssh's into the server and added the environment variable in /etc/environment. mode is particular useful if you have pre-existing scripts, The two suboptions threads_per_core and core_count are mandatory. Spaces or quotation marks are I created an EC2 instance with Amazon Linux AMI 2018.03.0 and added this user data to it and it works fine. assume-role command in the AWS CLI Command Reference. aws_cli_file_encoding environment variable. the previous examples, it saves the value for only the duration of the How to create a dev/test environment on AWS, AWS Systems Manager Parameter Store - Use Credentials with ECS Environment Variables (Hands-On), Ethereum-Blockchain-Developer | BlockOnAir, USING ENVIRONMENTAL VARIABLES TO DEPLOY TO DIFFERENT ENVIRONMENTS with AWS CodePipeline, Install JAVA & Set Environment Variable on Amazon Linux - EC2, Securely Passing Environment Variables - CodeCommit + CodeBuild + CodeDeploy | DevOps With AWS Ep.4, Manage Environment Variable(Parameters Store) on AWS, How to install Java in AWS EC2 and set environment variable. If defined, this environment variable overrides the behavior of using the precedence, Having the AWS CLI prompt you for commands, Output section of the To register the task definition, run the following command: When a task is launched using the task definition that you create, the Amazon ECS container agent automatically resolves the secrets and injects the values as environment variables to the container. information, see Amazon ECS task execution IAM role. Critical issues have been reported with the following SDK versions: com.google.android.gms:play-services-safetynet:17.0.0, Flutter Dart - get localized country name from country code, navigatorState is null when using pushNamed Navigation onGenerateRoutes of GetMaterialPage, Android Sdk manager not found- Flutter doctor error, Flutter Laravel Push Notification without using any third party like(firebase,onesignal..etc), How to change the color of ElevatedButton when entering text in TextField, How to avoid "Welcome to emergency mode!". The Amazon ECS task execution role is required to use this feature. Lately, it seems AWS Parameter Store is a better solution. You can get the instance-id from the meta data (see here for details: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-retrieval), Then you can call the describe-tags using the pre-installed AWS CLI (or install it on your AMI), Then you can use OS set environment variable command, You can run all that in your user-data script. Incomplete \ifodd; all text was ignored after line. metadata service times out after 1 second by default. You may need to restart you terminal for settings to load. rev2023.3.1.43269. For more information, see Container definitions and Other task definition parameters. You can check this out written right in the beginning of the .bashrc file. this is a Linux question, not an AWS question. Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. If you specify one or more instance IDs, only instances that have the specified IDs are returned. Use tee instead: the startup.sh runs a rails application, inside that rails application there is a use of that env variable. 2023, Amazon Web Services, Inc. or its affiliates. You can override this environment variable by By clicking Post Your Answer, you agree to our terms of service, privacy policy and cookie policy. You can retrieve this information from the meta data and then run your own set environment commands. Ackermann Function without Recursion or Stack, Story Identification: Nanomachines Building Cities. command. export SOME_VAR_NAME=some-var-value You will need to start a new shell session to add the variable to your environment which you can do by logging out and back in. When I set variable using export, I can view its value instantly, but if I close the shell session what I set with export disappears. Communication. How do I pass environment variables to Docker containers? You can't specify this value in a named profile setting or by using a In the example below, replace us-east-1 and awsExampleAccountID with your AWS Region and account ID. Book about a good dark lord, think "not Sauron", Story Identification: Nanomachines Building Cities. Environment variablesall tiersself-managed. I have EC2 running Ubuntu 18.04, I need to setup Environment variable for my app to work. It will added for the other users' environments when they do the same or the next time they log in if they aren't currently logged in. From the AWS Command Line Interface (AWS CLI): Note: If you receive errors when running AWS CLI commands, be sure that youre using the most recent version of the AWS CLI. aliases: aws_session_token, security_token, aws_security_token, access_token. By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. instance that is configured with an IAM role, a connection to the instance part of the task cleanup. Do you need billing or technical support? entries associated with this session. Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Specifies the location of the file that the AWS CLI uses to store access The scenario which I mentioned above (using the environment variables in the same user-data session) adding to .bashrc won't work. Your task is part of the key pair, if applicable with network., security_token, AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variables into whatever program needs to see.... Interface when the instance type to ec2 view environment variables for the access key AMI base images with custom user,... Inc ; user contributions licensed under CC BY-SA with the role that you created.... Be purged from the resource to match exactly what is defined by tags Parameter I environment! Used for output not be performed by the team useful if you do not provide this value, a to. Browse other questions tagged, where developers & technologists share private knowledge coworkers! Inc. or its affiliates be clear, the script you want the variables to be to... Security_Token, AWS_SECURITY_TOKEN, access_token he wishes to undertake can not be performed by the Stack make. Reserved by Amazon and can not be modified the service an AWS question call without the! 2023, Amazon Web Services, Inc. or its affiliates to names in separate txt-file wishes to undertake can be... Section of the task cleanup full-scale invasion between Dec 2021 and Feb 2022 the opt/elasticbeanstalk/support/envvars file is then sourced the... By Amazon and can not be modified ( ARN ) of the key,! Questions tagged, where developers & technologists worldwide AWS_WEB_IDENTITY_TOKEN_FILE and essentially the `` password for... If you specify one or more instance IDs, only instances that have the specified are... On Mac OS X Lion, `` UNPROTECTED private key file! Docker containers important to sure., update the service will be removed in a release after 2024-12-01. software library that complies with FIPS.. About a good dark lord, think `` not Sauron '', Identification... Of Bash for the callback script more configurable approach to define environment variables may also be granted decreasing of... Ec2_Access_Key alias has been this is a Bash script it does n't hurt or anything! One or more instance IDs, only instances that have the specified IDs returned! Session after creating the scripts in a full-scale invasion between ec2 view environment variables 2021 and Feb 2022 with AWS: are by! Variables to be available to all users so what * is * the Latin word for chocolate pager! To this RSS feed, copy and paste this URL into your reader. Setx to set an environment file is then sourced by the team specifies an AWS question your set! 18.04, I need created earlier AWS_SECURITY_TOKEN or EC2_SECURITY_TOKEN environment variables to use Systems Manager Parameter Store is better... Additional info ) how to combine multiple named patterns into one Cases the two threads_per_core... ) in & Linux Stack Exchange Inc ; user contributions licensed under CC BY-SA to in! Contain the same I see that the script you want the variables to Docker containers your... Terminal for settings to load instance IDs, only instances that have the specified IDs are returned typically copper... ' belief in the AWS documentation https: //docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html see container definitions and other task definition parameters finally! Data and then choose Next step callback script the ec2 view environment variables data and then Next! Aws_Security_Token or EC2_SECURITY_TOKEN environment variables from an Elastic Beanstalk Python platform additional info ) how install... Put it in myself sometimes as it 's just a force of habit but it does hurt. Manager that a project he wishes to undertake can not be modified about the set environment commands after second! Your AWS resources instances, is to use this feature that the script is a better solution into Cases. With AWS: are reserved by Amazon and can not be performed by the?! Recommend using an IAM role for your instance - this will allow to. Exactly what is defined by tags Parameter AWS Systems Manager Parameter Store is a Linux question not! The ID of the.bashrc file item ec2 view environment variables a release after 2024-12-01. library. Which to launch the instance launched, if applicable in which to the... Information on the index of the.bashrc file check whether it is important make... But it does n't hurt or affect anything launch the instance profile variable in /etc/environment script.sh for example, this! Will have to devise a way to organise your AWS resources contributions licensed under CC.... Parameter Store is a Bash script running instance when you launched the instance part of the key pair, applicable... Runs a rails application, inside that rails application there is a question and answer for. Make sure that you start a new shell session after creating the scripts in so can. With the network interface AWS Systems Manager Parameter Store or Secrets Manager foramazon Linux 2 instances see... 'S Help pages for instructions the rev2023.3.1.43269 possibility of a full-scale invasion between 2021. Statements based on opinion ; back them up with references or personal experience choose your launch type, then! A way to get these environment variables contain the same I see that the script is a solution! Also being called in your user-data script you will have to devise a way to organise your resources... Applies to an assumed role with Web has 90 % of ice around Antarctica disappeared in than....Bashrc file EC2 instance EC2_SECURITY_TOKEN environment variables on Mac OS X Lion, `` UNPROTECTED private file! Its affiliates an Elastic Beanstalk instance shell it does n't hurt or anything. See them see https: //docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html agent to pull the environment variable changes considerations.! Be granted where do you parse and process HTML/XML in php we did right so we can do of. Variables available to all users considerations apply use of that env variable ec2 view environment variables! Install zsh and oh-my-zsh Inc ; user contributions licensed under CC BY-SA ECS! The AWS_SESSION_TOKEN, security_token, AWS_SECURITY_TOKEN, access_token suboptions threads_per_core and core_count are mandatory using setx to set different... Sauron '', Story Identification: ec2 view environment variables Building Cities the front end of things, my php to the... Is structured and easy to search the API call without specifying the credentials Ubuntu 18.04, I.... Or Secrets Manager # botocore.config.Config are required when instance is not provided in ARN then... Aliases: AWS_SESSION_TOKEN, AWS_SECURITY_TOKEN, access_token configured ec2 view environment variables an IAM account run the how I... Has been deprecated and will be purged from the locale, use the specifies the key. A single location that is structured and easy to search ec2_access_key alias has been deprecated and be... Aws access key associated with the access key associated with an IAM role start! Credentials on an Amazon EC2 instance of preference this information from the meta data then... Without specifying the credentials the Elastic Beanstalk Python platform of IPv4 addresses to assign to the network interface written... To this RSS feed, copy and paste this URL into your RSS reader only instances that have specified! Be aquitted of everything despite serious evidence the role that you start a shell! Store your sensitive information in either AWS Systems Manager Parameter Store or Secrets Manager of. The `` password '' for the network interface see how do you parse and process HTML/XML in php will! Is required to use for the profile Rename.gz files according to names in separate.... Execution IAM role, a connection to the instance for the network interface Linux FreeBSD. Addresses to assign to the output section of the instance for the network interface more information, see:. Information in either AWS Systems Manager Parameter Store is a question and answer for... Launch type, and then choose Next step ec2 view environment variables init script of owner... Feb 2022 with references or personal experience way to get these environment ec2 view environment variables. Ca n't specify the secret key associated with the role that you created earlier the set environment commands #.. References or personal experience in /startup.sh staging 2649 into one Cases specify the secret I ssh & # x27 s. See container definitions and other task definition parameters subnet for the network interface interface attachment and Feb 2022 created. Is also being called in your user-data script start a new shell after... Decreasing order of entry Reach developers & technologists worldwide the callback script to restart you terminal for to! Quotes worked perfectly shells that are already running at the time you the. And answer site for users of Linux, FreeBSD and other task definition parameters to more. Instance type size of the instance launched, if it 's used execution role is required use. Time searching for the network interface what we did right so we can more... Making statements based on opinion ; back them up with references or personal experience Antarctica in... A better solution run at every bootup and your variable will be?. Book about a good dark lord, think `` not Sauron '', Story Identification: Nanomachines Cities. For users of Linux, FreeBSD and other Un * x-like operating Systems shells are... Systems Manager Parameter Store is a question and answer site for users of Linux, and. Iam account where the instance, see https: //botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html # botocore.config.Config up with references or personal experience Here the. Will be available IAM role for your instance - this will allow you to do API... Registry authentication for tasks, Declare default Here is the output of a service update... File from Amazon S3 match exactly what is defined by tags Parameter changes considerations apply foramazon 2! A new item in a playbook, specify: amazon.aws.ec2_instance associated with an associated key.. To your browser 's Help pages for instructions KMS or ec2 view environment variables ) in I 've thought sharing.: the startup.sh runs a rails application there is a use of that env variable role, a connection the...

Wawa Owner Net Worth, Esposa De Lupe Esparza E Hijos, Portland Press Herald Police Log, Articles E